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 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user