I just found that lib exists : Netty 2
Netty 2 provides an easy event-based API (like Swing) to develop high-performance, maintainable TCP/IP server/client application. Netty provides many essential features such as readiness selection, thread pooling, write buffer DoS prevention, and buffer reuse which are required to build high- performance and capacity network applications.
http://gleamynode.net/dev/projects/netty2/http://gleamynode.net/dev/projects/netty2/architecture.htmlanybody got some experience with it ?