servlet版本及容器和Java版本

HTML5的标准化终于在2014-10-29日尘埃落定,正式发布了。


Servlet和JSP版本不断向前进化,JDK也在进化中,提供了新的增强功能和特性。

Apache Tomcat Versions

tomcat.apache.org


Apache Tomcat is an open source software implementation of the Java Servletand JavaServer Pages technologies. Different versions of Apache Tomcat areavailable for different versions of the Servlet and JSP specifications. Themapping between the specifications and the respective Apache Tomcat versions is:

Servlet SpecJSP SpecEL SpecWebSocket SpecApache Tomcat versionActual release revisionSupport Java Versions
4.0TBD (2.4?)TBD (3.1?)TBD (1.2?)9.0.xNone8 and later
3.12.33.01.18.0.x8.0.147 and later
3.02.22.21.17.0.x7.0.566 and later
(WebSocket 1.1 requires 7 or later)
2.52.12.1N/A6.0.x6.0.415 and later
2.42.0N/AN/A5.5.x (archived)5.5.36 (archived)1.4 and later
2.31.2N/AN/A4.1.x (archived)4.1.40 (archived)1.3 and later
2.21.1N/AN/A3.3.x (archived)3.3.2 (archived)1.1 and later

现在应该使用的JDK6及以后版本,其中提供的NIO,及JDK7中提供的AIO(NIO 2),可以极大地提高服务器的并发。


Jetty

http://download.eclipse.org/jetty/

Jetty Versions

VersionYearHomeJVMProtocolsServletJSPStatus
9.12013Eclipse1.7HTTP/1.1 RFC2616, javax.websocket, SPDY v33.12.3Stable
92012Eclipse1.7HTTP/1.1 RFC2616, WebSocket RFC 6455, SPDY v33.02.2Stable
82009-Eclipse/Codehaus1.6HTTP/1.1 RFC2616, WebSocket RFC 6455, SPDY v33.02.2Mature
72008-Eclipse/Codehaus1.5HTTP/1.1 RFC2616, WebSocket RFC 6455, SPDY v32.52.1Mature
62006-2010Codehaus1.4-1.5HTTP/1.1 RFC26162.52.0Venerable
52003-2009Sourceforge1.2-1.5HTTP/1.1 RFC26162.42.0Deprecated
42001-2006Sourceforge1.2, J2MEHTTP/1.1 RFC26162.31.2Ancient
31999-2002Sourceforge1.2HTTP/1.1 RFC20682.21.1Fossilized
21998-2000Mortbay1.1HTTP/1.0 RFC19452.11.0Legendary
11995-1998Mortbay1.0HTTP/1.0 RFC1945--Mythical


Jetty v9.1 feature:

Servlet API 3.1

    - Async I/O

  JSR-356
    - javax.websocket support

  Jetty WebSocket API
    - Streaming support
    
  Server Speed Improvements:
    - Shockingly fast response times
    
  New Async Http Client:
    - Our best yet, complete cleanup, faster than you can believe.

  New Connector Architecture:
    - We are now 100% NIO, no more blocking I/O connectors.
    - We no longer have different connectors for different protocols.
      Now you have a ServerConnector, which supports all various flavors of
      connector configurations (http, https, ssl, spdy/2, spdy/3, etc).
      Specifically architected to support new fallback techniques and upcoming
      protocols (eg: http/2 when the spec is final)

Jetty v9.2 feature:

  • 支持 Java 8

  • 使用 Apache 版本的 Jasper 来处理 JSP/JSTL

  • 异步 I/O 代理
  • 异步 FastCGI
  • ALPN (Application Layer Protocol Negotiation) 规范支持
  • 多个Jetty base directories


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Servlet3.1规范(最终版) JavaTM Servlet 规范 版本 3.1(最终版) Shing Wai Chan Rajiv Mordani [作者] 穆茂强 张开涛 [译者] 2012年6月翻译 2013年7月修订 目录 前言 ............................... 3 其他资料 ............................................................................................................................................................ 3 谁应该读此规范 ................................................................................................................................................ 3 API规范 ............................................................................................................................................................3 其他的 Java 平台规范 ....................................................................................................................................... 3 其他重要参考资料 ............................................................................................................................................ 4 提供反馈 ............................................................................................................................................................ 4 专家组成员 ........................................................................................................................................................ 5 答谢 .................................................................................................................................................................... 5 目录 ............................... 6 概览 .............................. 13 1.1 1.2 1.3 1.4 1.5 1.6 什么是 Servlet? .................................................................................................................................. 13 什么是Servlet容器?...............................................................................................................................13 例子...........................................................................................................................................................13 Serv

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值