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 Spec | JSP Spec | EL Spec | WebSocket Spec | Apache Tomcat version | Actual release revision | Support Java Versions |
|---|---|---|---|---|---|---|
| 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 |
现在应该使用的JDK6及以后版本,其中提供的NIO,及JDK7中提供的AIO(NIO 2),可以极大地提高服务器的并发。
Jetty
http://download.eclipse.org/jetty/
Jetty Versions
| Version | Year | Home | JVM | Protocols | Servlet | JSP | Status |
|---|---|---|---|---|---|---|---|
| 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
Jetty v9.2 feature:
-
支持 Java 8
-
使用 Apache 版本的 Jasper 来处理 JSP/JSTL
- 异步 I/O 代理
- 异步 FastCGI
- ALPN (Application Layer Protocol Negotiation) 规范支持
- 多个Jetty base directories

本文介绍了HTML5的标准化进程及其在2014年的正式发布,并对比了Apache Tomcat和Jetty的不同版本,详细说明了它们支持的JDK版本、Servlet及JSP规格等。此外还介绍了Jetty 9.1和9.2版本的新特性。

被折叠的 条评论
为什么被折叠?



