[jboss-user] [EJB/JBoss] - J2EE application startup code?
f.baronti
do-not-reply at jboss.com
Mon Mar 3 06:42:09 EST 2008
Greetings,
I'm writing a standard J2EE application composed of some stateless session beans. I have some code which should be executed at the initialization of the whole application (it basically reads some configuration files, and stores the result in static variabiles). Is it ok to put this code in the static {} portion of a stateless EJB, or is there any more appropriate place? The code must be executed once for all, so ejbCreate() is not what I need.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133597#4133597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133597
More information about the jboss-user
mailing list