本文介绍了Jetty和Netty有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

Jetty和Netty之间的主要区别是什么?

Netty是Jboss的一部分,但是它是默认的Web服务器容器吗?

Netty是否支持Servlets 3.0?

解决方案

Jetty 是一个轻量级的servlet容器,易于嵌入到Java应用程序中,并且还具有易于使用的jetty客户端. /p>

Netty 是一个异步事件驱动的网络应用程序框架.例如,您可以在Netty框架的帮助下编写自己的servlet容器或http客户端应用程序.

忘记提及Jetty 8和Apache Tomcat 7支持servlet 3.0规范,但netty则不支持.因为它不是servlet容器.

What is the main difference between Jetty and Netty?

Netty is part of Jboss, but is it the default web server container?

Does Netty support Servlets 3.0?

解决方案

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.

Edit:

Forgot to mention that Jetty 8 and Apache Tomcat 7 support servlet 3.0 spec, but netty doesn't. Because it's not a servlet container.

这篇关于Jetty和Netty有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 22:37