I'm developing a J2EE web application and I would like to be able to run a method (or function, class, whatever - something) during the "republish" process. It would be nice if I could control when during the republish my function gets called (before, during, after, etc.) but a good first step would be getting something to be called automatically.
As a temporary hack, I was able to add a button to my web app that you click right before you click "republish" in Eclipse.
deploy
directory. JBoss sees that the EAR has changed and updates accordingly. Basically, you use "republish" because it's a lot faster than restarting the server (the thing defined in Eclipse, not a physical machine). – Carr