Madangopal Venkatesan wrote:Ideally, the ServletContext gets destroyed when the App server (Tomcat or JBoss) is shut down or sometimes even restarted.
Well that will certainly cause all the applications within it to be taken out of service, but web applications can be taken out of service without having to shut down or restart the container itself.
Madangopal Venkatesan wrote:Ideally, the ServletContext gets destroyed when the App server (Tomcat or JBoss) is shut down or sometimes even restarted.
Well that will certainly cause all the applications within it to be taken out of service, but web applications can be taken out of service without having to shut down or restart the container itself.
True, But what about the scenario when the web app is deployed and yet not started to service requests ?
So I would say when web app is undeployed or the server goes down
Regards, Suhas S. Mandrawadkar.
Certifications: SCJP 6, SCWCD 5, Oracle WebLogic Server Administrator, OCE Java EE 6 EJB Developer