My Project is a web based project with
JSP and
Servlet Technologies hosted by a
JBoss Server.
In my application ,there is a option where user can call a exe run a separate application.
Is there any way in case the System is shut down or App Server is Restarted in that case a stop method should be invoked to
Stop the invoked process and clear certain Files from a location.
Thanks in advance.