It is possibly programmatically to know when the web application is undeployed/stopped from Tomcat, in Java? I need to stop some processes running, but without setting up Tomcat, only Java code?
It is possibly programmatically to know when the web application is undeployed/stopped from Tomcat,
Share
Yes. Use ServletContextListener. It will notify you when context is created and/or destroyed.