A main class is invoked through a JNLP file using
Java Web Start from a client machine. I want to update server DB table based on successful launch and closing of the application in client machine.
The constraint is that I can't modify the application that gets launched(as it is a 3rd party GPL tool).
Another constraint is that the tool does all things inside it's main method, so difficult to write a wrapper application.
Is there any way to track such events(especially closure) using Java Web Start itself ?