Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Java 8 Fundamentals: NIO and NIO2

via Pluralsight

Overview

Java NIO and NIO2 are two evolutions of the Java I/O API. It does not make Java I/O obsolete in any way, but merely bring functionalities, leveraging the capabilities of file systems, not used by Java I/O. You'll have the knowledge to design and create robust I/O systems by following the right patterns. Start learning today!

Java NIO and NIO2 have been added to the JDK to add more functionalities offered by the file systems that aren't used by Java I/O. In this course, Java 8 Fundamentals: NIO and NIO2, you'll learn how to use Java NIO to read and write data efficiently in bulk mode, and asynchronously to handle more operations simultaneously. First, you'll explore the fundamental objects of this API, including Buffer, Channel, and Selector to precisely set up performant I/O applications for disk or network access. Next, you'll discover how to efficiently navigate through very large directory structures, and how to trigger actions on directory events plugged on the native capabilities of the file systems for better performance. Finally, you'll delve into all of these APIs in action in extended live coding sessions, showing you how to properly use the patterns and how to deal with errors. By the end of this course, you'll have the necessary knowledge to design and create robust and performant I/O systems by following the right patterns, whether you want to access file systems or networks.

Syllabus

  • Course Overview 1min
  • Creating Channels with NIO 57mins
  • Setting up Asynchronous Operations with NIO 30mins
  • Using FileSystems in Java NIO2 48mins
  • Visiting Directory Trees 35mins
  • Listening to Directory Events 20mins

Taught by

Jose Paumard

Reviews

4.4 rating at Pluralsight based on 32 ratings

Start your review of Java 8 Fundamentals: NIO and NIO2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.