For changes to classes, such as servlets, you will probably have to restart Tomcat.
Are you sure, we have to start tomcat can't we do
hot deployment into the server.
Hot deployment So what I thought was
1) We need to create a modified war file
2) We need to run the TCD's build.xml to deploy the modified war file into server, while the server is running.
Is this correct?
I tried out the same & even created a build.xml for TCD(TomcatClientDeployer)
& tried running that but somehow it was not working fine.
3) In
Java, whatever is inside
jre/lib/ext folder the runtime environment identifies it, likewise is there any arrangement of that sort in Tomcat server so that we can put the modified war file there so that the server recognises it.
4) One more doubt is in some real-time applications when they want to change the application & deploy it, I've heard that they are following this approach of hot deployment so that the existing users don't suffer from the server shutdown.
Regards.