[jboss-user] [EJB/JBoss] - 4.0.4GA : Hook for deployment / EJB application startup ?
soeren
do-not-reply at jboss.com
Mon Oct 30 13:09:19 EST 2006
Hi.
I'm just wondering if there is any possibility to hook up the "application deployed" event to some code, i.e. have a callback for this event.
I have an EJB-application which needs some action taken immediately after it is started, like initializing interfaces, preparing a scheduler using Quartz, maintaining some kind of internal cache for a faster start of clients and so on.
It looks like the EJB standard has nothing available for this? What about JBoss specific, is there any "best practice" for this use case?
I mean, this must be a pretty common case, every "self grown" server application normally has a lot of startup things that happen so I can't believe it's not available in the EJB world ,-))
An if the startup hook is there: What about shutdown (thanks)?
Thanks in advance,
Soeren Gerlach
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981841#3981841
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981841
More information about the jboss-user
mailing list