Perhaps programmatically to find out when a web application is not installed or stopped from Tomcat, in Java? I need to stop some processes, but without setting up Tomcat, only Java code?
Yes. Use ServletContextListener . It will notify you when the context is created and / or destroyed.
Source: https://habr.com/ru/post/1387164/More articles:How to place datalabel at the bottom of a row of bars - highchartsfaye ruby ββclient not working - javascriptWhat language to use for Hadoop Map / Reduce software? Java or PHP? - hadoopUsing keychain to store username and password in xcode 4 - objective-cIs there a custom parameter that controls the maximum size / length of an HTTP message in IIS 7, IIS7.5 +? - httpBind to event an error of model created by collection.create () method? - javascriptHow (if possible) to configure Eclipse for Intellij IDEA keyboard shortcuts? - eclipseHow to work with users who, after clicking the "Back" button - javascriptQuoting through variables in spss - variablesCoding practice. What coding approach should I use? - javaAll Articles