I need to know if I can run code from my war when the war was properly deployed.
Basically what I would like, if possible, have a listener that notifies me that the war was deployed. I'm open to any further complicated technical solution, they are welcome examples.
Application Server on which work is JBoss, it would be best if the proposed solution, if there is, it binds too not to JBoss.