I'm new to Tomcat
. We have a dev machine with about 5 apps running. Even though it's dev, it's used by our clients pretty heavily during testing.
So say we need to make one small change on one class file. Right now, we have to shutdown Tomcat (affecting the other four apps), delete the WAR
file (and web app directory), redeploy the new WAR
file and restart Tomcat
.
Of course, this upsets a few people because it destroys all logged in sessions for all apps.
Is there a better way to do this? I mean, is there a way to only reload the CLASS that changed instead of everything on the dev machine?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…