[JBoss-user] [Beginners Corner] - Re: JBOSS auto starts main() method

2006-04-02 Thread _monkey_
Thank you very much, now I have a further question... Now I can get Jboss to deploy .sar file (the service bean) when Jboss starts, but since the .sar file contains references(import statements etc) to ejbs in another .ear file, but since when Jboss deploys the .sar file, the .ear file is not y

[JBoss-user] [Beginners Corner] - deploy .sar after .ear in Jboss

2006-04-02 Thread _monkey_
Hi... I can get Jboss to deploy .sar file (the service bean) when Jboss starts, but the .sar file contains references(import statements etc) to ejbs in another .ear file. So when Jboss deploys the .sar file, the .ear file is not yet deployed, then Jboss doesn't recognize those references, so res

[JBoss-user] [Beginners Corner] - JBOSS auto starts main() method

2006-03-30 Thread _monkey_
Hi. I have a J2EE application deployed in a JBoss server. As part of this application, I have a piece of code/file(something like a main() method) that needs to run in the background which is like a monitor that monitors my application, it basically checks the states of my application say every