Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Tomcat and hot code deployment

Ivan "I-Dawg" Jouikov

2004-06-22


Hey!

As far as I understand, hot code deployment, is when you modify .class inside /WEB-INF/classes, and tomcat reloads it, correct?

If so, is it true, that whenever it reloads it, the OLD instance of static objects, threads, and properties stay alive, that is, tomcat doesn’t destroy them?  Is that why many developers don’t use hot code deployment on production servers? Because I’ve been trying to debug my app, and I realized this pattern, and if I am correct, then my application is bug-free.

Thanks

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07.06.2004

©2008 junlu.com - Jax Systems, LLC, U.S.A.