Chapter 7 Deploying Web Applications on a Tomcat Server
There are two ways to deploy Web applications on a Tomcat Server:
- Static: To deploy statically, setup the web application first before starting Tomcat.
- Dynamic: To dynamically deploy, manipulate deployed web applications together with the Tomcat Manager.
A Tomcat Manager permits URL-based web application deployment features. For additional functionality, the Tomcat Manager interacts with the Client Deployer. A Client Deployer is a command shell-based script which adds functions of compiling, validating, and packaging web applications into Web Application Resource (WAR) files.
Installing Tomcat Client Deployer
To use the Tomcat Client Deployer (TCD), install the package first. Follow these steps to install the TCD:
1. Download apache-tomcat-6.0.x-deployer or the TCD distribution.
2. Extract TCD to any location.
3.Read using the Tomcat Client Deployer.
TCD requires installations of Apache Ant 1.6.2+ and Java.


