Course description
Java SE 7 platform gave us a brand new file based I/O architecture, NIO2. This new architecture solved most of the problems we saw in the original stream based I/O. You’ll see how the NIO2 Path class is used to represent the underlying file system syntax, in a manner that is transparent to the application. Next you’ll see how the NIO2 Files class works with the Path class. Then we’ll cover the new NIO2 asynchronous channels, to let us monitor and control the completion of our asynchronous events. NIO2 also gives us a new asynchronousChannelGroup to group these channels, and supply them with a pool of threads for resource sharing. And we’ll take a look at the new WatchService file change notification API, which lets you register to be notified when files or directories change on the file system. After our tour of NIO2, we’ll move to the new networking features provided by Java SE 7. We’ll experiment with the URLClassLoader, which now implements the Closable I/F and its close() method. Then we’ll take a look at the new protocols we can now access. One is the Stream Control Transmission Protocol, or SCTP, and another new protocol is Sockets Direct Protocol, or SDP.
Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.
Prerequisites
This course assumes that the users have a solid understanding object-oriented principals and experience coding with Java 5 or greater. This course was filmed using Eclipse for RCP and RAP developers (Java developer edition). A general understanding of Eclipse is required but only to understand the methods shown. The theory for this course will work on any IDE that supports the Java 7 SE SDK. You should have view the course ‘Java 7 SE: Enhancements and Concurrency’ before viewing this course.
Meet the expert
Brigitte Birze is a seasoned software development professional with over 25 years of experience in Corporate IT and Engineering across many verticals. Brigitte has been involved in every phase of the software development lifecycle from the perspective of several roles: individual contributor, team lead, S/W architect, system engineer, proposal author, and project manager. Her innovative software architectures have resulted in six published papers and eight patents. Brigitte's dynamic communication skills, paired with her depth and breadth of technical knowledge, give her the unique ability to make the complex understandable and to convey technical concepts to cross-functional groups, speaking at the business or technical level.
Video Runtime
138 Minutes
Time to complete
267 Minutes
Course Outline
Java Stream Based File (21:17)
NIO Files Class (19:07)
NIO File System Operations (09:27)
NIO Walking the Dir Tree (13:48)
Finding Files With NIO (15:14)
NIO Async Operations (11:23)
NIO Async Channel Group (08:03)
NIO Change Notification (11:46)
Network Protocols (10:36)
SCTP (11:09)
SDP (06:54)