Tomcat - Ways of application deployment in Tomcat 7
Deployment of applications can be done in many ways in Tomcat 7. There are fi ve
different ways which are widely known and accepted in the various industries
displayed
- War deployment: You can deploy the WAR fi le in the CATALINA_BASE
directory of Tomcat and restart Tomcat to view the application. This
approach is widely used in the production environment.
- Unpacked deployment: In this deployment method, the WAR fi le is
extracted on the CATALINA_BASE directory for the instance. This method is
commonly used in the development server.
- Tomcat Manager: It's a very good tool which is widely used in the
production environment, mainly in remote infrastructure deployment. You
can log in to the Tomcat browser from your system and deploy. Then click on
the new web application deployment,
- Using ANT scripts: You can also deploy the application using the ANT scripts.
These scripts contain the information of the source/destination and target fi le.
For doing this deployment, the Tomcat instance should be running.
- TCD (Tomcat Deployer): It is a tool which is used for application deployment.
ANT should be installed for the TCD to be working and the Tomcat instance
should be running. There is no need to install he TCD on the Tomcat instance.