JDK 7 and the New I/O APIs
By dannycoward on Dec 02, 2008
It's tempting to think its all about JavaFX this week. The team is prepping for the launch party (when not commenting on blogs), which starts this Thursday December 4th at 6pm Pacific Time. You can follow the Janitor's blow by by blow account live here.
But, work continues on JDK 7 as we speak. For example, on NIO2, the important upgrade to the NIO API added in J2SE 1.4. Aimed at applications that need scalable IO functionality using various protocols, like web servers and application servers, one of the most important features is the new FileSystem API, adding much needed features, like file change notifications, bulk operations and symbolic links to Java SE.
Jean Francois has started a series of in depth blogs to describe how to use the new APIs as they develop, starting with how to use a ThreadPool to parallelize asynchronous IO operations. Use of NIO2 is already in the plan for Grizzly 2.0, and Jean Francois' Introduction to NIO2 will be one of the many interesting talks at Devoxx next week.
And since you can get the current NIO2 APIs in a JDK 7 build, other developers like Deniz have been trying it out.