This content has been marked as final.
Show 2 replies
-
1. Re: How to invoke an Stateless at ear deployment.
alrubinger Sep 18, 2007 3:08 PM (in response to jc7442)Define "without invoking a bean"? Where else would you put the logic for your initialization task?
It's possible to create a JMX Service object with @Depends on the ObjectName of your EAR, and it'll run through the "start" method after the EAR has deployed.
S,
ALR -
2. Re: How to invoke an Stateless at ear deployment.
jc7442 Sep 18, 2007 4:40 PM (in response to jc7442)I was not clear enough :-)
I do not want that the init service is invoked atomatically just after server is started.
I will investigate that with a JMX service. It should be a solution ...
Thanks