Init startup code for EJBs

Rich Armstrong <[email protected]> Sat, 19 Mar 2005 22:43:23 -0500
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
I have a J2EE application, with a bootstrap servlet (that initializes some properties etc). The servlet is set to init on startup. It works fine.

Now, I have another J2EE application that also requires some initialization, but does not really need a web component. I could of course use the servlet architecture, simply to do the bootstrapping, but that seems to be a waste. Is there a corresponding thing in the EJB layer itself?

Specifically, is there a init on startup feature available on the EJB layer?

Thanks,
Rich

Rich Armstrong
Genetics Software http://www.kromosoft.com

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".