LinuxHPC.org/Cluster Builder 1.3
    Apache Tomcat
Translate to another language

Apache Tomcat 

Apache Tomcat (formerly under the Apache Jakarta Project; Tomcat is now a top level project) is a web container developed at the Apache Software Foundation. Tomcat implements the servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, providing an environment for Java code to run in cooperation with a web server. It adds tools for configuration and management but can also be configured by editing configuration files that are normally XML-formatted. Because Tomcat includes its own HTTP server internally, it is also considered a standalone web server.


Environment/Integration

Tomcat is a web server that supports servlets and JSPs. Tomcat comes with the Jasper compiler that compiles JSPs into servlets.
The Tomcat servlet engine is often used in combination with an Apache webserver or other web servers. Tomcat can also function as an independent web server. Earlier in its development, the perception existed that standalone Tomcat was only suitable for development environments and other environments with minimal requirements for speed and transaction handling. However, that perception no longer exists; Tomcat is increasingly used as a standalone web server in high-traffic, high-availability environments.
Since its developers wrote Tomcat in Java, it runs on any operating system that has a JVM.



Status


Members of the Apache Software Foundation 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. Tomcat 5.5.x, the latest production quality release as of 2005, implements the Servlet 2.4 and JSP 2.0 specifications. Versions 4.0 and later use the Catalina servlet container internally.


Directory Structure


The typical and default directory hierarchy of a Tomcat installation comprises the following:
  • bin - startup, shutdown and other scripts and executables
  • common - common classes that Catalina and web applications can use
  • conf - XML files and related DTDs to configure Tomcat
  • logs - Catalina and application logs
  • server - classes used only by Catalina
  • shared - classes shared by all web applications
  • webapps - directory containing the web applications
  • work - temporary storage for files and directories
However, alternative configurations are possible. The documentation that ships with Tomcat contains more details.


Benefits/Features


Tomcat 3.x (initial release)
  • implements the Servlet 2.2 and JSP 1.1 specifications
  • servlet reloading
  • basic HTTP functionality
Tomcat 4.x
  • implements the Servlet 2.3 and JSP 1.2 specifications
  • servlet container redesigned as Catalina
  • JSP engine redesigned as Jasper
  • Coyote 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
All text used in this article is available under the GNU Free Documentation License. It uses material from the Wikipedia article "Apache Tomcat".