Introduction to NIO.2 (Asynchronous I/O) and how you can benefit from being asynchronous!
This session will introduce NIO.2 API and Concepts and demonstrate how Apache Projects like Tomcat can take advantage of the new API, both in term of code clarity and performance. First, the new Asynchronous I/O API will be discussed in details. Second, a new Tomcat Connector will be written to demonstrate some of the new API like AsynchronousServerSocket, NetworkChannel, etc. Next, the fundamental difference between NIO.1 and NIO.2 will be discussed by demonstrating how much simple is to write application using this NIO.2. Finally, we will discuss the future of NIO.1 frameworks like MINA and Grizzly and how they can take advantages of the NIO.2 concepts.