Java Open Source Projects Directory

...dedicated into Java open source projects

  • Increase font size
  • Default font size
  • Decrease font size


Netty 2 is an event-driven network application framework. It provides an easy event-based API (like Swing) to develop high-performance, maintainable TCP/IP server/client application. Netty handles many essential features such as readiness selection, thread pooling, and buffer reuse which are required to build high- performance and capacity network applications in Java. Netty 2's interesting features are:

 * Each messages of the user defined protocol are mapped to message classes; Protocols are maintainable in object-oriented way such as inheritance and polymorphism.
 * Utilizes Java NIO.
 * Thread pooling is implemented out-of-the-box.
 * NIO direct buffer is reused to reduce direct buffer allocation overhead.
 * I/O threads and event process threads are separated to avoid I/O to slow down from business logic.