This content has been marked as final.
Show 1 reply
-
1. Re: load EJB on startup?
one_special_user Aug 6, 2006 3:27 PM (in response to goonie)Basically the Lifecycle of EJB's (Session Beans etc) is controlled thru the container, but there's no similar "startup-hook" than the one you mentioned with servlets.
And as far as I know there's neither a J2EE-Spec nor JBoss-Deployment-Descriptor-specific solution.
If your "startup-hook" should just configure Logging or Hibernate, try to configure standardjboss.xml and jboss-service.xml to your needs.
Or take a look at MBeans for bootstrapping some services (JBoss-specific)