Netty
http://mvnrepository.com/artifact/io.netty
Netty is an asynchronous event-driven network java application framework for rapid development of maintainable high performance protocol servers & clients.
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.
'Quick and easy' doesn't mean that a resulting application will suffer from a maintainability or a performance issue. Netty has been designed carefully with the experiences earned from the implementation of a lot of protocols such as FTP, SMTP, HTTP, and various binary and text-based legacy protocols. As a result, Netty has succeeded to find a way to achieve ease of development, performance, stability, and flexibility without a compromise.
Getting Started
Récuperer les exemples du livre Netty in Action
git clone https://github.com/normanmaurer/netty-in-action.git cd netty-in-action/ git checkout 2.0-SNAPSHOT mvn clean install
Depuis terminal 1, lancer l'EchoServer
cd chapter2 cd Server/ mvn exec:java
Depuis terminal 2, lancer l'EchoClient
cd chapter2 cd Client/ mvn exec:java
Livre
- Norman Maurer and Marvin Allen Wolfthal, Netty in Action, Mannings, https://www.manning.com/books/netty-in-action