I just found that lib exists : Netty 2
[quote]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.
[/quote]
http://gleamynode.net/dev/projects/netty2/
http://gleamynode.net/dev/projects/netty2/architecture.html
anybody got some experience with it ?