I would preload system data to ServletContext for later use during system up. 
Then i will get those data in the Session Bean (both stateful and stateless). 

I use following code to retrieve 
Context context = Contexts.getApplicationContext();

But, context is NULL. Is there anything that i need to take care when i use 
getApplicationContext()? or are there other ways to achieve same goal? 


Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961463#3961463

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961463
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to