File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes hot deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "hot deployment" Watch "hot deployment" New topic

hot deployment

pravanya Gullapudi

Joined: May 07, 2007
Posts: 16
what is hot deployment?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Hot deployment is a term for deploying or upgrading a web application without having to shutdown and restart the application server.

Tomcat is mostly capable of this.
There are a few gotchas such as the handling of static variables from classes stored in common or shared directories. Also repeated hot restarts or redeploys will cause a slight memory leak to show.

All in all though, it does a good job.
If you need true 24/7 up time and can never afford to shut it down for a moment, then Tomcat also offers clustering capability with session replication so different nodes can be brought down and brought back up without interrupting service to the application.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: hot deployment
It's not a secret anymore!