Correspondence between Tomcat and JDK version, Tomcat versions Characteristics

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/ThinkWon/article/details/102622738


Apache Tomcat is an open source software implementation of the Java Servlet and Java Server Pages technology. Different versions of the Servlet and JSP specifications can use different versions of Apache Tomcat. Tomcat and JDK version correspondence is:

Servlet Specification JSP specification EL Specifications WebSocket specification JASPIC Specifications Apache Tomcat version Latest Release Supported version of Java
4.0 2.3 3.0 1.1 1.1 9.0.x 9.0.27 8 and later
3.1 2.3 3.0 1.1 1.1 8.5.x 8.5.47 7 and later
3.1 2.3 3.0 1.1 Not applicable 8.0.x (have replaced) 8.0.53 (have replaced) 7 and later
3.0 2.2 2.2 1.1 Not applicable 7.0.x 7.0.96 Version 6 and higher (WebSocket is 7 and later)
2.5 2.1 2.1 Not applicable Not applicable 6.0.x (archived) 6.0.53 (archived) 5 and later
2.4 2.0 Not applicable Not applicable Not applicable 5.5.x (Archived) 5.5.36 (Archive) 1.4 and later
2.3 1.2 Not applicable Not applicable Not applicable 4.1.x (archived) 4.1.40 (archived) 1.3 and later
2.2 1.1 Not applicable Not applicable Not applicable 3.3.x (Archived) 3.3.2 (archived) 1.1 and later

The following will detail these versions to help you determine which version is right for you. For more detailed information about each release, please see the related release notes.

Please note that while we provide the old versions downloads and documentation, such as Apache Tomcat 7.x, but we strongly recommend that you use the latest stable version of Apache Tomcat as possible. We recognize that cross major version upgrade may not be an easy task, and the list is still the old version of the user to provide some support. However, due to support community-driven, your version of the older, less interested or able to support your people.

Alpha / Beta / Stable

There are three versions of Tomcat, the initial release of a major version usually from Alpha to Beta, and then to Stable

Alpha versions may contain specifications required in a large number of untested / missing features and / or significant error, and stable operation is not expected any time period.

Beta versions may contain a number of features and / or a number of relatively small errors untested. Beta version is not expected stable operation.

Stable release may contain small amounts of relatively small error. Stable version intended for production use, and is expected to stabilize in the longer run.

Apache Tomcat 9.x

Apache Tomcat 9.x is the current development focus. It is based on Tomcat 8.0.x and 8.5.x, and implements the Servlet 4.0 , the JSP 2.3 , the EL 3.0 , a WebSocket 1.1 and JASPIC 1.1 Specification (Java EE 8 Platform Requirements version). In addition, it includes the following important enhancements:

  • Add support for HTTP / 2 in (need to run on Java 9 (from Apache Tomcat 9.0.0.M18 play) or being installed Tomcat Native Library)
  • Added to the TLS OpenSSL connector for JSSE (NIO and NIO2) Support Support
  • Added support for TLS virtual host (SNI) of

Apache Tomcat 8.x

Apache Tomcat 8.0.x based on Tomcat 7.0.x, and implements the Servlet 3.1 , the JSP 2.3 , the EL 3.0 and WebSocket 1.1 specification. In addition, it includes the following important enhancements:

  • A single public resources to achieve, to replace multiple resources extend the functionality provided in earlier versions.

Apache Tomcat 8.5.x supports the same Apache Tomcat 8.0.x of Servlet, JSP, EL and WebSocket specification version. In addition, it implements JASPIC 1.1 specification.

It was in March 2016 from Tomcat 9.0.0.M4 (alpha) milestone release of derived. It provides Tomcat 9.x code base HTTP / 2 support and other functions, in conjunction with Tomcat 8.0 compatible runtime and regulatory requirements. (At that time can not create a stable version of Tomcat 9.0, in the years before determining the Tomcat Java EE specification 9).

Tomcat 8.5 Tomcat 8.0 is considered to be alternatives. See the migration guide , for instructions on migrating to the Tomcat 8.5.

Apache Tomcat 8.5.x includes the following important enhancements:

  • Add support for HTTP / 2 (requires Tomcat Native Library)
  • Added to the TLS OpenSSL connector for JSSE (NIO and NIO2) Support Support
  • Added support for TLS virtual host (SNI) of

Apache Tomcat 8.5.x to delete the following technologies:

  • HTTP and AJP connectors implemented BIO
  • Comet API support

Tomcat8.5 again in many areas it has undergone major changes, resulting in improved performance, reliability and total cost of ownership. For more information, please refer to the Apache Tomcat 8.5 change log.

Tomcat 8.0 users should be aware Tomcat 8.0 now has stopped development . Tomcat 8.0.x users should upgrade to version Tomcat 8.5.x or higher.

Apache Tomcat 7.x

Apache Tomcat 7.x based on improved Tomcat 6.0.x and implements the Servlet 3.0 , the JSP 2.2 , the EL 2.2 and WebSocket 1.1 specification. In addition, it includes the following improvements:

  • Web application memory leak detection and prevention
  • Improve safety Manager and Host Manager application
  • General CSRF protection
  • Support includes external content directly from Web applications
  • Reconstruction (connector, life cycle) and a large number of internal code cleanup

Apache Tomcat 6.x

Apache Tomcat 6.x to improve Tomcat 5.5.x basis, and implements Servlet 2.5 and JSP 2.1 specification. In addition, it includes the following improvements:

  • Memory usage optimization
  • Advanced IO functionality
  • Reconstruction of cluster

Tomcat 6 users should know Tomcat 6 now has stopped development . Tomcat 6.x Tomcat users should upgrade to version 7.x or later.

Guess you like

Origin blog.csdn.net/ThinkWon/article/details/102622738