Apache Tomcat

Apache Tomcat

Infobox Software
name = Apache Tomcat



caption = Apache Tomcat Default Page
collapsible = yes
developer = Apache Software Foundation
latest release version = 6.0.18
latest release date = release date|2008|07|31
latest preview version =
latest preview date =
operating system = Cross-platform
programming language = Java
genre = Servlet container
HTTP web server
license = Apache License 2.0
website = http://tomcat.apache.org

Apache Tomcat is a Servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.

Tomcat should not be confused with the Apache web server, which is a C implementation of a HTTP web server; these two HTTP web servers are not bundled together. Apache Tomcat includes tools for configuration and management, but can also be configured by editing configuration files that are normally XML-formatted.

Development status

Members of the ASF and independent volunteers develop and maintain Tomcat. Users have free access to the source code and to the binary form of Tomcat under the Apache License. The initial Tomcat release appeared with versions 3.0.x (previous releases were Sun internal releases, and were not publicly released). Tomcat 6.0.18 is the latest production quality release of the 6.0.x trunk (the branch for the 2.5 servlet specification), as of 2008.cite web|url=http://tomcat.apache.org/download-60.cgi|title=Apache Tomcat 6 Downloads|publisher=Apache Software Foundation|accessdate=2008-03-11] cite web|url=http://tomcat.apache.org/whichversion.html|title=Apache Tomcat -- Which Version Do I Want?|publisher=Apache Software Foundation|accessdate=2007-01-22]

Components

Tomcat version 4.x was released with Jasper (a redesigned JSP engine), Catalina (a redesigned servlet container) and Coyote (an HTTP connector).

Catalina

Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP). The architect for Catalina was Craig McClanahan.

Coyote

Coyote is Tomcat's HTTP Connector component that supports the HTTP/1.1 protocol for the web server or application container. Coyote listens for incoming connections on a specific TCP port on the server and forwards the request to the Tomcat Engine to process the request and send back a response to the requesting client.

Jasper

Jasper is Tomcat's JSP Engine. Tomcat 5.x uses Jasper 2, which is an implementation of the Sun Microsystems's JavaServer Pages 2.0 specification. Jasper parses JSP files to compile them into Java code as servlets (that can be handled by Catalina). At runtime, Jasper is able to automatically detect JSP file changes and recompile them.

Jasper 2

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 been recompiled.
* Recompile JSP when included page changes - Pages can be inserted and included into a JSP at compile time. The JSP will not only be automatically recompiled with JSP file changes but also with included page changes.
* JDT Java compiler - Jasper 2 can use the Eclipse JDT Java compiler instead of Ant and javac.

Product features

An overview of the different versions can be found on the Apache website.cite web |url=http://tomcat.apache.org/whichversion.html |title=Apache Tomcat -- Which Version Do I Want? |publisher=Apache Software Foundation |accessdate=2007-01-22]

Tomcat 3.x (initial release)

* Merger of donated Sun Java Web Server code and ASF JServ in 1999.
* Implements Servlet 2.2 and JSP 1.1 specifications.

Tomcat 4.x

* Released 2001
* implements the Servlet 2.3 and JSP 1.2 specifications
* servlet container redesigned as Catalina
* JSP engine redesigned as Jasper
* Coyote HTTP connector
* Java Management Extensions (JMX), JSP and Struts-based administration

Tomcat 5.x

* implements the Servlet 2.4 and JSP 2.0 specifications
* reduced garbage collection, improved performance and scalability
* native Windows and Unix wrappers for platform integration
* faster JSP parsing

Tomcat 6.x

* implements the Servlet 2.5 and JSP 2.1 specifications
* support for Unified Expression Language 2.1
* designed to run on Java SE 5.0 and later
* support for Comet through the CometProcessor interface
* is not packaged with an admin console as in past releases.

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 to the Apache Software Foundation. The Apache Ant software build automation tool was developed as a side-effect of the creation of Tomcat as an open source project.James Duncan Davidson on the "Hivelogic Podcast": http://hivelogic.com/podcast/episodes/james-duncan-davidson]

Davidson had initially hoped that the project would become open sourced and, since most 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, his wish to see an animal cover eventually came true when O'Reilly published their Tomcat book with a snow leopard on the cover, [cite book |title=Tomcat: The Definitive Guide |url=http://www.oreilly.com/catalog/tomcat/ |author=Jason Brittain, Ian F. Darwin |publisher=O'Reilly Books |id=ISBN 0-596-00318-8 |pages=322]

Tomcat 4.x

* 4.1.36 - March 24, 2007
* 4.1.31 - October 11, 2004

Tomcat 5.0.x

* 5.0.30 - August 30, 2004
* 5.0.28 - August 28, 2004
* 5.0.23
* 5.0.0 - October 9, 2002

Tomcat 5.5.x

* 5.5.26 - February 2008
* 5.5.25 - September 2007
* 5.5.23 - March 2007
* 5.5.20 - September 1, 2006
* 5.5.17 - April 28, 2006
* 5.5.16 - March 16, 2006
* 5.5.15 - January 21, 2006
* 5.5.12 - October 9, 2005
* 5.5.9 - April 11, 2005
* 5.5.7 - January 30, 2005
* 5.5.4 - November 10, 2004
* 5.5.1 - September 7, 2004
* 5.5.0 - August 31, 2004

Tomcat 6.x

* 6.0.18 - July 31, 2008
* 6.0.16 - February 7, 2008
* 6.0.14 - August 13, 2007
* 6.0.13 - May 15, 2007
* 6.0.10 - March 1, 2007
* 6.0.0 - December 1, 2006

See also

* Comparison of web servers
* JBoss Application Server
* Jetty (web server)
* JOnAS, an application server that can use Tomcat as its web container
* OpenEJB, can be added to Tomcat to turn it into a JavaEE server
* Terracotta Cluster

References

External links

* [http://tomcat.apache.org/ Main Apache Tomcat page]
* http://members.cox.net/midian/howto/apache+tomcat+mod_jk.htm Configure Tomcat through Apache using mod_jk
* [http://wiki.apache.org/tomcat/ Apache Tomcat Wiki]
* [http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ 20 Tips for Using Tomcat in Production]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Apache Tomcat — Apache Tomcat …   Википедия

  • Apache Tomcat — Standard Startseite des …   Deutsch Wikipedia

  • Apache Tomcat — Pour les articles homonymes, voir Tomcat. Apache Tomcat …   Wikipédia en Français

  • Tomcat (serveur) — Apache Tomcat Apache Tomcat …   Wikipédia en Français

  • Apache Axis2 — Apache Axis Entwickler: Apache Software Foundation Ak …   Deutsch Wikipedia

  • Apache OpenEJB — Developer(s) Apache Software Foundation Stable release 3.1.4 / November 17, 2010; 11 months ago (2010 11 17) Development status Active …   Wikipedia

  • Apache OFBiz — Screenshot  …   Wikipedia

  • Apache Commons — проект фонда Apache Software Foundation (далее ASF), имеющий своей целью разработку и поддержку открытого программного обеспечения повторного использования на языке Java, т.е. библиотек Java. В более узком смысле Apache Commons это «большая… …   Википедия

  • Apache Maven — Тип Автоматизация сборки Разработчик …   Википедия

  • Apache Axis — Entwickler Apache Software Foundation Aktuelle Version Apache Axis: 1.4 Apache Axis2: 1.5.3 (Apache Axis: 22. April 200 …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”