Software:Apache Tomcat
Apache Tomcat default page | |
Original author(s) | James Duncan Davidson |
---|---|
Developer(s) | The Apache Software Foundation |
Initial release | 1999 |
Stable release | 10.0.16 (January 20, 2022[1]) [±] |
Repository | Tomcat Repository |
Written in | Java |
Type | Servlet container HTTP web server |
License | Apache-2.0 |
Apache Tomcat (called "Tomcat" for short) is a free and open-source implementation of the Jakarta Servlet, Jakarta Expression Language, and WebSocket technologies.[2] It provides a "pure Java" HTTP web server environment in which Java code can also run. Thus it is a Java web application server, although not a full JEE application server.
Tomcat is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation, released under the Apache License 2.0 license.
Components
Tomcat 4.x was released with Catalina (a servlet container), Coyote (an HTTP connector) and Jasper (a JSP engine).
Catalina
Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP). In Tomcat, a Realm element represents a "database" of usernames, passwords, and roles (similar to Unix groups) assigned to those users. Different implementations of Realm allow Catalina to be integrated into environments where such authentication information is already being created and maintained, and then use that information to implement Container Managed Security as described in the Servlet Specification.[3]
Coyote
Coyote is a Connector component for Tomcat that supports the HTTP 1.1 and 2 protocol as a web server. This allows Catalina, nominally a Java Servlet or JSP container, to also act as a plain web server that serves local files as HTTP documents.[4] Coyote listens for incoming connections to the server on a specific TCP port and forwards the request to the Tomcat Engine to process the request and send back a response to the requesting client. Another Coyote Connector, Coyote JK, listens similarly but instead forwards its requests to another web server, such as Apache, using the JK Protocol.[5] This usually offers better performance.[citation needed]
Jasper
Jasper is Tomcat's JSP Engine. Jasper parses JSP files to compile them into Java code as servlets (that can be handled by Catalina). At runtime, Jasper detects changes to JSP files and recompiles them.
As of version 5, Tomcat uses Jasper 2, which is an implementation of the Sun Microsystems' JSP 2.0 specification. From Jasper to Jasper 2, important features were added:
- JSP Tag library pooling – Each tag markup in JSP file is handled by a tag handler class. Tag handler class objects can be pooled and reused in the whole JSP servlet.
- Background JSP compilation – While recompiling modified JSP Java code, the older version is still available for server requests. The older JSP servlet is deleted once the new JSP servlet has finished being recompiled.
- Recompile JSP when included page changes – pages can be inserted and included into a JSP at runtime. The JSP will not only be recompiled with JSP file changes but also with included page changes.
- JDT Java compiler – Jasper 2 can use the Eclipse JDT (Java Development Tools) Java compiler instead of Ant and
javac
.
Three new components were added with the release of Tomcat 7:
Cluster
This component has been added to manage large applications. It is used for load balancing that can be achieved through many techniques. Clustering support currently requires the JDK version 1.5 or higher.
High availability
A high-availability feature has been added to facilitate the scheduling of system upgrades (e.g. new releases, change requests) without affecting the live environment. This is done by dispatching live traffic requests to a temporary server on a different port while the main server is upgraded on the main port. It is very useful in handling user requests on high-traffic web applications.[6]
Features
Tomcat 8.x implements the Servlet 3.1 and JSP 2.3 Specifications.[7] Apache Tomcat 8.5.x is intended to replace 8.0.x and includes new features pulled forward from Tomcat 9.0.x. The minimum Java version and implemented specification versions remain unchanged.[8]
Tomcat 9.x implements the Servlet 4.0 and JSP 2.3 Specifications.[9]
Tomcat 10.0.x implements the Servlet 5.0 and JSP 3.0 Specifications.[9]
Tomcat 10.1.x implements the Servlet 6.0 and JSP 3.1 Specifications.[9]
History
Tomcat started off as a servlet reference implementation by James Duncan Davidson, a software architect at Sun Microsystems. He later helped make the project open-source and played a key role in its donation by Sun Microsystems to the Apache Software Foundation.[10] The Apache Ant software build automation tool was developed as a side-effect of the creation of Tomcat as an open source project.
Davidson had initially hoped that the project would become open-sourced and, since many open-source projects had O'Reilly books associated with them featuring an animal on the cover, he wanted to name the project after an animal. He came up with Tomcat since he reasoned the animal represented something that could fend for itself. Although the tomcat was already in use for another O'Reilly title,[11] his wish to see an animal cover eventually came true when O'Reilly published their Tomcat book with a snow leopard on the cover in 2003.[12]
Releases
Series | Declared stable | Description | Latest release | Latest release date | End of life[13] |
---|---|---|---|---|---|
2.0 | 1998 | Tomcat started off in November 1998[14] as a servlet reference implementation by James Duncan Davidson, a software architect at Sun Microsystems. | ? | ? | ? |
3.0 | 1999 | Initial release. Merger of donated Sun Java Web Server code and ASF and Implements Servlet 2.2, and JSP 1.1 specifications. | 3.3.2 | 2004-03-09 | ? |
4.1 | 2002-09-06[15] | First Apache Tomcat release to support the Servlet 2.3 and JSP 1.2[16] specifications. | 4.1.40 | 2009-06-25 | ? |
5.0 | 2003-12-03 | Supports the Servlet 2.4, JSP 2.0, and EL 1.1[16] specifications. | 5.0.30 | 2004-08-30 | ? |
5.5[17] | 2004-11-10[18] | Designed for J2SE 5.0. Inclusion of Eclipse JDT allows Tomcat to run without a full Java Development Kit being installed. | 5.5.36 | 2012-10-10 | 2012-09-30[19] |
6.0 | 2007-02-28[20] | Supports the Servlet 2.5, JSP 2.1,[16] and EL 2.1 specifications. | 6.0.53 | 2017-04-07 | 2016-12-31[21] |
7.0 | 2011-01-14[22] | Supports the Servlet 3.0, JSP 2.2, EL 2.2, and WebSocket[16] specifications. | 7.0.109 | 2021-04-26[23] | 2021-03-31[24] |
8.0 | 2014-06-25[25] | Supports the Servlet 3.1, JSP 2.3, and EL 3.0[16] specifications. | 8.0.53 | 2018-07-05 | 2018-06-30[26] |
8.5 | 2016-06-13 | Adds support for HTTP/2, OpenSSL for JSSE, TLS virtual hosting and JASPIC 1.1. Created from Tomcat 9, following delays to Java EE 8. | 8.5.95 | 2023-10-16[27] | 2024-03-31[28] |
9.0 | 2018-01-18 | Supports the Servlet 4.0[16] specifications. | 9.0.85 | 2023-10-13[29] | TBA |
10.0 | 2021-02-02 | Supports the Servlet 5.0, JSP 3.0, EL 4.0, WebSocket 2.0 and Authentication 2.0[16] specifications. | 10.0.27 | 2022-10-10[30] | 2022-10-31[31] |
10.1 | 2022-09-26 | Supports the Jakarta Servlet 6.0, JSP 3.1, EL 5.0, WebSocket 2.1, and JASPIC 3.0[16] specifications. | 10.1.18 | 2023-11-10[32] | TBA |
11.0 | (alpha) | Supports the Jakarta Servlet 6.1, JSP 4.0, and as-yet-to-be-determined versions of EL, WebSocket, and JASPIC[16] specifications. | 11.0.0-M16 | 2023-10-14[33] | TBA |
{{{2}}} |
Apache TomEE
Apache TomEE (pronounced "Tommy") is the Java Enterprise Edition of Apache Tomcat (Tomcat + Java EE = TomEE) that combines several Java enterprise projects including Apache OpenEJB, Apache OpenWebBeans, Apache OpenJPA, Apache MyFaces and others.[34] In October 2011, the project obtained certification by Oracle Corporation as a compatible implementation of the Java EE 6 Web Profile.[35][36]
See also
- WildFly, formerly known as JBoss Application Server
- Jetty (web server)
- GlassFish, the reference implementation of Jakarta EE (and Java EE before that), supporting EJB, JPA, JSF, JMS, Java RMI, JSP, servlets etc.
- Comparison of web server software
Related software that is now obsolete or defunct:
- MuleSoft, producer of Tcat, an enterprise Tomcat server
- Apache Geronimo, an application server that can use Tomcat as its web container
- Resin, an application server from Caucho Technology
- JOnAS, an application server that can use Tomcat as its web container
- Apache OpenEJB can be added to Tomcat to turn it into a JavaEE server
References
- ↑ "Apache Tomcat - Welcome!". The Apache Software Foundation. 2022-01-20. https://tomcat.apache.org/.
- ↑ "How to install Apache Tomcat on Ubuntu Server 16.04". 21 March 2017. https://www.techrepublic.com/article/how-to-install-apache-tomcat-on-ubuntu-server-16-04/.
- ↑ "Apache Tomcat Configuration Reference - The Realm Component". Tomcat.apache.org. http://tomcat.apache.org/tomcat-5.5-doc/config/realm.html.
- ↑ The Coyote HTTP/1.1 Connector, Apache
- ↑ "Server Configuration Reference - The Coyote JK Connector". http://tomcat.apache.org/tomcat-4.1-doc/config/coyotejk.html.
- ↑ King, Graham (2004-12-20). "High availability Tomcat". JavaWorld. https://www.infoworld.com/article/2073121/high-availability-tomcat.html.
- ↑ "Apache Tomcat - Apache Tomcat 8 Software Downloads". https://tomcat.apache.org/download-80.cgi.
- ↑ McClanahan, Craig R.. "Apache Tomcat 8 (8.5.33) - Documentation Index". http://tomcat.apache.org/tomcat-8.5-doc/index.html.
- ↑ 9.0 9.1 9.2 "Apache Tomcat Versions". http://tomcat.apache.org/whichversion.html.
- ↑ Davidson, James Duncan (2014-11-14). "What was the history of Tomcat inside Sun before it was open-sourced?". https://www.quora.com/What-was-the-history-of-Tomcat-inside-Sun-before-it-was-open-sourced.
- ↑ Sinan Si Alhir (1998), UML in a Nutshell, O'Reilly Books, pp. 296, ISBN 978-1-56592-448-2, https://archive.org/details/umlinnutshelldes00alhi/page/296
- ↑ Brittain, Jason; Darwin, Ian F. (28 November 2007), Tomcat: The Definitive Guide (1st ed.), O'Reilly Media, p. 320, ISBN 978-0596003180, https://archive.org/details/tomcatdefinitive00brit/page/320, retrieved 2018-03-01
- ↑ "Tomcat Versions - Apache Tomcat". The Apache Software Foundation. https://cwiki.apache.org/confluence/display/TOMCAT/Tomcat+Versions.
- ↑ "The Origin Story of Tomcat". TechNotif. 24 April 2015. http://technotif.com/the-origin-story-of-tomcat/.
- ↑ "[ANNOUNCEMENT Tomcat 4.1.10 Stable"]. http://mail-archives.apache.org/mod_mbox/jakarta-announcements/200209.mbox/%3C3D789475.60405@apache.org%3E.
- ↑ 16.0 16.1 16.2 16.3 16.4 16.5 16.6 16.7 16.8 Saegesser, Marc A.. "Apache Tomcat - Which Version Do I Want?". https://tomcat.apache.org/whichversion.html.
- ↑ Apache Tomcat Project. "Apache Tomcat". http://tomcat.apache.org/tomcat-55-eol.html.
- ↑ "The Jakarta Site - News and Status". http://jakarta.apache.org/site/news/news-2004-2ndHalf.html#20041110.1.
- ↑ Apache Tomcat Project. "Apache Tomcat". https://tomcat.apache.org/tomcat-55-eol.html.
- ↑ "[ANN Apache Tomcat 6.0.10 released"]. http://mail-archives.apache.org/mod_mbox/www-announce/200703.mbox/%3C45E61194.5050003%40apache.org%3E.
- ↑ "Apache Tomcat - End of life for Apache Tomcat 6.0.x". https://tomcat.apache.org/tomcat-60-eol.html.
- ↑ Apache Tomcat Project. "Apache Tomcat". http://tomcat.apache.org/oldnews-2011.html#Tomcat_7.0.6_Released.
- ↑ "Apache Tomcat 7 (7.0.109) - Changelog". https://tomcat.apache.org/tomcat-7.0-doc/changelog.html#Tomcat_7.0.109_(violetagg).
- ↑ "Apache Tomcat - End of life for Apache Tomcat 7.0.x". http://tomcat.apache.org/tomcat-70-eol.html.
- ↑ Apache Tomcat Project. "Apache Tomcat". http://tomcat.apache.org/oldnews-2014.html#Tomcat_8.0.9_Released.
- ↑ "Apache Tomcat - End of life for Apache Tomcat 8.0.x". https://tomcat.apache.org/tomcat-80-eol.html.
- ↑ Apache Tomcat Project. "Apache Tomcat 8.5 Changelog". https://tomcat.apache.org/tomcat-8.5-doc/changelog.html.
- ↑ "Apache Tomcat - End of life for Apache Tomcat 8.5.x". https://tomcat.apache.org/tomcat-85-eol.html.
- ↑ Apache Tomcat Project. "Apache Tomcat 9.0 Changelog". https://tomcat.apache.org/tomcat-9.0-doc/changelog.html.
- ↑ Apache Tomcat Project. "Apache Tomcat 10.0 Changelog". https://tomcat.apache.org/tomcat-10.0-doc/changelog.html.
- ↑ "Apache Tomcat - End of life for Apache Tomcat 10.0.x". https://tomcat.apache.org/tomcat-10.0-eol.html.
- ↑ Apache Tomcat Project. "Apache Tomcat 10.1 Changelog". https://tomcat.apache.org/tomcat-10.1-doc/changelog.html.
- ↑ Apache Tomcat Project. "Apache Tomcat 11.0 Changelog". https://tomcat.apache.org/tomcat-11.0-doc/changelog.html.
- ↑ "Apache TomEE". Apache OpenEJB. http://openejb.apache.org/apache-tomee.html.
- ↑ "The Apache Software Foundation Announces Apache TomEE Certified as Java EE 6 Web Profile Compatible". MarketWatch. 4 Oct 2011. http://www.marketwatch.com/story/the-apache-software-foundation-announces-apache-tomee-certified-as-java-ee-6-web-profile-compatible-2011-10-04.
- ↑ "Apache TomEE Web stack gains approval". InfoWorld. 7 Oct 2011. http://www.infoworld.com/d/application-development/apache-tomee-web-stack-gains-approval-175341.
Bibliography
- Brittain, Jason; Darwin, Ian F. (28 November 2007), Tomcat: The Definitive Guide (1st ed.), O'Reilly Media, p. 320, ISBN 978-0596003180, https://archive.org/details/tomcatdefinitive00brit/page/320, retrieved 2018-03-01
- Brittain, Jason; Darwin, Ian F. (28 November 2007), Tomcat: The Definitive Guide (2nd ed.), O'Reilly Media, p. 496, ISBN 978-0596101060, http://shop.oreilly.com/product/9780596101060.do, retrieved 2018-03-01
- Chopra, Vivek; Li, Sing; Genender, Jeff (August 13, 2007), Professional Apache Tomcat 6 (1st ed.), Wrox, p. 629, ISBN 978-0-471-75361-2, http://www.wrox.com/WileyCDA/WroxTitle/productCd-0471753610.html, retrieved 2009-10-08
- Moodie, Matthew; Mittal (Ed.), Kunal (March 22, 2007), Pro Apache Tomcat 6 (1st ed.), Apress, p. 325, ISBN 978-1-59059-785-9, https://www.apress.com/book/9781590597859, retrieved 2009-10-08
External links
Original source: https://en.wikipedia.org/wiki/Apache Tomcat.
Read more |