[jboss-user] [EJB/JBoss] - Re: how can i store config file
nagmca
do-not-reply at jboss.com
Thu Sep 21 10:39:03 EDT 2006
Thanks, I am thinking of having a Config Mgr as singleton. But not sure where to put the logic of invoking this ConfigMgr (from ejbCreate or setSessionContext())
"jaikiran" wrote : Have a singleton utility class which will read the file once when it is instantiated. Invoke this singleton utility class from your EJB whenever you want the values for your properties
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973294#3973294
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973294
More information about the jboss-user
mailing list