servlet版本及容器和Java版本
HTML5的標準化終于在2014-10-29日塵埃落定,正式發(fā)布了。
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:
| 4.0 | TBD (2.4?) | TBD (3.1?) | TBD (1.2?) | 9.0.x | None | 8 and later |
| 3.1 | 2.3 | 3.0 | 1.1 | 8.0.x | 8.0.14 | 7 and later |
| 3.0 | 2.2 | 2.2 | 1.1 | 7.0.x | 7.0.56 | 6 and later (WebSocket 1.1 requires 7 or later) |
| 2.5 | 2.1 | 2.1 | N/A | 6.0.x | 6.0.41 | 5 and later |
| 2.4 | 2.0 | N/A | N/A | 5.5.x (archived) | 5.5.36 (archived) | 1.4 and later |
| 2.3 | 1.2 | N/A | N/A | 4.1.x (archived) | 4.1.40 (archived) | 1.3 and later |
| 2.2 | 1.1 | N/A | N/A | 3.3.x (archived) | 3.3.2 (archived) | 1.1 and later |
現(xiàn)在應(yīng)該使用的JDK6及以后版本,其中提供的NIO,及JDK7中提供的AIO(NIO 2),可以極大地提高服務(wù)器的并發(fā)。
Jetty
http://download.eclipse.org/jetty/
Jetty Versions
| 9.1 | 2013 | Eclipse | 1.7 | HTTP/1.1 RFC2616, javax.websocket, SPDY v3 | 3.1 | 2.3 | Stable |
| 9 | 2012 | Eclipse | 1.7 | HTTP/1.1 RFC2616, WebSocket RFC 6455, SPDY v3 | 3.0 | 2.2 | Stable |
| 8 | 2009- | Eclipse/Codehaus | 1.6 | HTTP/1.1 RFC2616, WebSocket RFC 6455, SPDY v3 | 3.0 | 2.2 | Mature |
| 7 | 2008- | Eclipse/Codehaus | 1.5 | HTTP/1.1 RFC2616, WebSocket RFC 6455, SPDY v3 | 2.5 | 2.1 | Mature |
| 6 | 2006-2010 | Codehaus | 1.4-1.5 | HTTP/1.1 RFC2616 | 2.5 | 2.0 | Venerable |
| 5 | 2003-2009 | Sourceforge | 1.2-1.5 | HTTP/1.1 RFC2616 | 2.4 | 2.0 | Deprecated |
| 4 | 2001-2006 | Sourceforge | 1.2, J2ME | HTTP/1.1 RFC2616 | 2.3 | 1.2 | Ancient |
| 3 | 1999-2002 | Sourceforge | 1.2 | HTTP/1.1 RFC2068 | 2.2 | 1.1 | Fossilized |
| 2 | 1998-2000 | Mortbay | 1.1 | HTTP/1.0 RFC1945 | 2.1 | 1.0 | Legendary |
| 1 | 1995-1998 | Mortbay | 1.0 | HTTP/1.0 RFC1945 | - | - | Mythical |
Jetty v9.1 feature:
Servlet API 3.1
- Async I/OJSR-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) 規(guī)范支持
- 多個Jetty base directories
總結(jié)
以上是生活随笔為你收集整理的servlet版本及容器和Java版本的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 离大谱 一家7口在高速应急车道内“涮火锅
- 下一篇: 2022 年度中国电竞产业年会将于 2