Java NIO HttpClients

Java’s non-blocking IO (NIO) is a complex, yet amazingly powerful addition to Java to build scalable and performant network applications. The capabilities of Java NIO are particularly impressive if compared with alternative ways in the JRE to connect to web resources over http. Here is a small collection of libraries and tutorial, which can aid in building asynchronous Java NIO based http clients.

Open Source Projects

Project License Dependencies
Async Http Client Apache 2.0 Netty 3.9.1
httpnio LGPL None
NIO Framework LGPLv3 None

Tutorials/Examples

High-Performance I/O with Java NIO: Nice tutorial with lots of code samples

The Rox Java NIO Tutorial: Great in-depth tutorial, including examples for SSL

SSL Echo Client and SSL Echo Server: SSL Client/Server example using NIO Framework listed above.

Java NIO Tutorials by Jakob Jenkov: Great tutorials to get started with Java NIO

SSL NIO from onjava.com: In depth discussion on SSL and NIO

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s