BT

JBoss Netty 3.1 Released

by Craig Wickesser on Aug 02, 2009 |

Netty 3.1.0 was recently released by the JBoss Community and is another option when writing client/server network applications. Netty is self-described as,

an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.

As far as categorizing Netty, it falls in the same arena as Apache Mina and Grizzly. This latest release includes a host of features and enhancements to performance and API usability. Some of the features include:

The HTTP Tunneling feature was just one of the highly requested features and was briefly summarized in an earlier set of release notes,

HTTP Tunneling Transport (in org.jboss.netty.channel.socket.http) is a socket transport which allows any existing socket applications to be proxied over HTTP. This transport is particularly useful when you need to bypass a firewall without modifying an existing server application. To illustrate how this works, it looks like the following:

HttpTunnelingClientSocketChannel --> HTTP-friendly Firewall --> Servlet Container (e.g. Tomcat, Jetty) --> HttpTunnelingServlet --> Your Server Application

Of course when selecting a framework for developing network applications performance and scalability can be major factors in the final decision. The Netty team has performance information available from their site. You can also find performance information on the Apache Mina site. Lastly, Nicholas Hagen posted a series of blog posts describing his exploration into choosing Mina, Grizzly or Netty. At the end he decides to choose Netty but closes with the following statement:

Overall, I have come to prefer Netty over both Mina and Grizzly for performance, memory, and feature usage. Note that you should undergo your own analysis to decide which library suits your requirements.

The next version of Netty, 3.2.0, is under development with the road map both viewable and editable by the community.

Hello stranger!

You need to Register an InfoQ account or to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT