pagetop
Javablog
by Java coders, for Java codersRSS

A practical introduction to NIO

March 29th, 2007 by James

Quick initial post (more of a dereference actually) to point you at the NIO tutorial I put together as part of writing Rox (an XML-RPC library).

It aims to take you from nothing to working code in as short a time as possible and it’s been very well received. I wrote it because I struggled to find decent documentation around NIO and spent a lot of time trawling through obscure forum threads and the JDK source code to get it working.


This entry was posted by by James on Thursday, March 29th, 2007 at 9:33 pm, and is filed under IO, Java, NIO, RPC, Tutorial, XML. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.



2 comments on “A practical introduction to NIO”

[…] easy to get wrong given it’s complexity. However, James Greenfield, an engineer for Amazon, recently announced that he’d put up a tutorial for NIO, including a lot of important details of using NIO with […]

take also a look into the java.net tutorial Architecture of a Highly Scalable NIO-Based Server. It gives and good overview how to use NIO to write server

Leave a comment

Markdown is supported.

To include code snippets in your comment, use

<pre><code># lang java
... code here ...
</code></pre>

or use 4 spaces at the start of the line instead of using code and pre tags.

Comment feed: RSS