I have a batch scheduler in my EMR application.
To start it there is a service method you can call from a client (e.g. there is a 'start scheduler' button in the scheduler tool).
We don't want to start the scheduler manually though - it needs to auto start any time after the application server is started.
What is the best way to do that - is there a standard way to call a bean on JBoss after startup (maybe something defined in the xml config?).