This content has been marked as final.
Show 1 reply
-
1. Re: Invoke a service at JBoss server startup
tcunning Sep 4, 2014 9:33 AM (in response to vamseebvenkat)Venkata,
There's a number of ways to do this - take a look at this post which outlines three of them :
http://biese.wordpress.com/2010/01/08/start-up-customer-java-class-when-java-ee-server-starts/
The approach I would suggest is the MBean one. If you construct an MBean Service, you could have it call your ESB service and the only gotcha would be that you need it to depend on the ESB service - that tells the application server when it starts up that it needs to start the ESB service before it starts your MBean service.
--Tom