Thanks.
I like to cache an object outside session beans, like application context. Is
there anything like that? Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920587#3920587
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
Thanks.
I like to cache an object outside session beans, like application context. Is
there anything like that? Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920586#3920586
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
It is a bad idea to cache objects in a stateless session bean as stateless
beans are pooled. Try using @Service beans for that. THey are JBoss specific,
but they are singleton instances that hook into lifecycle.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p