digplanet beta 1: Athena
Share digplanet:

Agriculture

Applied sciences

Arts

Belief

Business

Chronology

Culture

Education

Environment

Geography

Health

History

Humanities

Language

Law

Life

Mathematics

Nature

People

Politics

Science

Society

Technology

Apache Tomcat
Apache Tomcat Logo
Developer(s) Apache Software Foundation
Stable release 7.0.40 (May 9, 2013; 8 days ago (2013-05-09)) [±]
Preview release Non [±]
Development status Active
Written in Java
Operating system Cross-platform
Type Servlet container
HTTP web server
License Apache License 2.0
Website tomcat.apache.org

Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) is an open source web server and 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.

Apache Tomcat includes tools for configuration and management, but can also be configured by editing XML configuration files.

Contents

Components [edit]

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

Catalina [edit]

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...[1]

Coyote [edit]

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 [edit]

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's 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 [edit]

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 later.

High availability [edit]

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.[2]

Web Application [edit]

It has also added user as well as system based web applications enhancement to add support for deployment across the variety of environments. It also tries to manage session as well as applications across the network.

Tomcat building is additional components. A number of additional components may be used with Apache Tomcat. These components may be built by users should they need them or they can be downloaded from one of the mirrors.[3]

Features [edit]

Tomcat 7.x implements the Servlet 3.0 and JSP 2.2 specifications.[4] It requires Java version 1.6, although previous versions have run on Java 1.1 through 1.5. Versions 5 through 6 saw improvements in garbage collection, JSP parsing, performance and scalability. Native wrappers, known as "Tomcat Native", are available for Microsoft Windows and Unix for platform integration.

History [edit]

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. 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, his wish to see an animal cover eventually came true when O'Reilly published their Tomcat book with a snow leopard on the cover.[5]

Releases [edit]

Apache Tomcat versions
Version Release Date Description
3.0.x. (initial release) 1999 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 Latest 3.x release.
4.1.31 2004-10-11
4.1.40 2009-06-25 Latest 4.x release.
5.0.0 2002-10-09
5.0.30 2004-08-30 Latest 5.0.x release
5.5.0 2004-08-31
5.5.36 2012-10-10 Latest 5.5.x release, 30-Sep-2012 is End-of-Life for 5.5.x
6.0.0 2006-12-01
6.0.37 2013-05-03 Latest 6.x release.
7.0.0 beta 2010-06-29 First Apache Tomcat release to support the Servlet 3.0, JSP 2.2, and EL 2.2 specifications.
7.0.6 2011-01-14
7.0.37 2013-02-18 Fourth stable version.
7.0.40 2013-05-09 Current stable version.

Communities [edit]

Apache software is built as part of a community process that involves both user and developer mailing lists. The developer list is where discussion on building and testing the next release takes place, while the user list is where users can discuss their problems with the developers and other users.

Some of the free Apache Tomcat resources and communities include Tomcatexpert.com (a SpringSource sponsored community for developers and operators who are running Apache Tomcat in large-scale production environments) and MuleSoft's Apache Tomcat Resource Center (which has instructional guides on installing, updating, configuring, monitoring, troubleshooting and securing various versions of Tomcat).

Apache TomEE [edit]

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.[6] In October 2011, the project obtained certification by Oracle Corporation as a compatible implementation of the Java EE 6 Web Profile.[7][8]

See also [edit]

References [edit]

Bibliography [edit]

External links [edit]


Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Apache_Tomcat — Please support Wikipedia.
A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
83045 videos foundNext > 

Installing Apache Tomcat on Windows

Step by Step guide to install apache tomcat on windows for servlets and jsp - techstroke.com.

Introduction To Apache Tomcat 7 Part 1

Go to part 2: http://www.youtube.com/watch?v=Vc_ebIqCIQA Apache Tomcat is the mostly widely deployed application server in today's enterprise market. Develop...

"Apache Tomcat" Configure

Tomcat Apache Configuration: Before Executing any Servlets copy web.xml paste into (Yourfolder\WEB-INF\) make entry\edit web.xml file.This file you will get ...

Virtual Host + Apache httpd server + Tomcat + mod_jk connector

In my last post (Virtual Host in Tomcat) we discussed about how setup the virtual host in Tomcat. Its cost effective technique because only one public IP is ...

Java Web 1 Que es un Contenedor de Servlets. Instalar Apache Tomcat. Video Tutorial en Español.

Instalar y Ejecutar Apache Tomcat

Página de Apache Tomcat: http://tomcat.apache.org La primera entrega de la serie "Apache Tomcat" ya está al aire, y comenzamos explicando cómo configurar, in...

Java Web Programming using Apache Tomcat and Netbeans

Java Web Programming using Apache Tomcat and Netbeans. http://www.murach.com/downloads/jsp2.htm.

Instalacion de Apache Tomcat - Curso de Servlets y JSP

En este video estudiaremos la instalación de servidor Java web más famoso Apache Tomcat, con el cual podremos ejecutar nuestros componentes que son parte del...

Introdução a Java para Web - aula 2 - Apache Tomcat

What's New in Apache Tomcat 7

Mark Thomas talks about what's new in Apache Tomcat 7 at the S2G Forums. Slides available at http://www.springsource.org/S2GForum2011slides.

83045 videos foundNext > 

3 news items

SYS-CON Media (press release) (blog)

SYS-CON Media (press release) (blog)
Thu, 25 Apr 2013 00:30:28 -0700

Our developers usually need to program the server side in Java hence they need to deploy the code under one of the Java servers, e.g. Apache Tomcat. They use different setups and I'll show you a couple of them. you'll see how to to configure Tomcat ...
 
LUPA开源社区
Thu, 09 May 2013 20:39:42 -0700

Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache、Sun 和其他一些公司及个人共同开发而成。由于有了Sun 的参与和支持,最新的Servlet 和JSP 规范总是能在Tomcat 中 ...
 
LUPA开源社区
Wed, 24 Apr 2013 20:29:43 -0700

CDI - Apache OpenWebBeans; EJB - Apache OpenEJB; JPA - Apache OpenJPA; JSF - Apache MyFaces; JSP - Apache Tomcat; JSTL - Apache Tomcat; JTA - Apache Geronimo Transaction; Servlet - Apache Tomcat ...
Loading

Oops, we seem to be having trouble contacting Twitter

Talk About Apache Tomcat

You can talk about Apache Tomcat with people all over the world in our discussions.

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!