Free tutorials for Java, Eclipse and Web programming



Follow me on twitter

Apache Tomcat - Tutorial

Lars Vogel

Version 0.5

03.08.2010

Revision History
Revision 0.118.11.2008Lars Vogel
Created
Revision 0.2-0.509.04.2009 - 03.08.2010Lars Vogel
bug fixed and enhancements

Apache Tomcat

This article describes the installation and usage of Apache Tomcat for Java web development. Tomcat version 6.x is used in this tutorial.


Table of Contents

1. Apache Tomcat
2. Installation
2.1. Windows
2.2. Ubuntu Linux
2.3. Admin user
3. Managing Apache Tomcat
3.1. Start Tomcat on Windows
3.2. Start Tomcat on Ubuntu (Linux)
3.3. Test Tomcat
3.4. Deployment
4. Security Manager
5. Developing Java web applications
6. Tomcat as HTTP Server
7. Thank you
8. Questions and Discussion
9. Links and Literature
9.1. Apache Tomcat

1. Apache Tomcat

Apache Tomcat is a webcontainer which allows to run servlet and JavaServer Pages based web applications. Most of the modern Java web frameworks are based on servlets and JavaServer Pages and can run on Apache Tomcat, e.g. JavaServer Faces, Struts, Spring.

Apache Tomcat also provides per default a HTTP connector on port 8080, e.g. Tomcat can also be used as HTTP server even though the performance of Tomcat is not as good as the performance of the Apache HTTP server.