Jetty vs Netty
- If you deal a lot with network protocols and want it to be non-blocking use Netty (usually for high-performance cases). If you want a light HTTP servlet container use Jetty.
- Jetty is a lightweight servlet container, easy to embed within a java application, there is an easy to use jetty client also.
- Netty is an asynchronous event-driven network application framework. You can write your own servlet container or http client app with help of the Netty framework for example.
- Jetty 8 and Apache Tomcat 7 support servlet 3.0 spec, but netty doesn't. Because it's not a servlet container.