This content has been marked as final.
Show 3 replies
-
1. Re: cache objects in EJB session bean layer
bill.burke Jan 30, 2006 11:52 PM (in response to javatwo)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.
-
2. Re: cache objects in EJB session bean layer
javatwo Jan 31, 2006 1:24 AM (in response to javatwo)Thanks.
I like to cache an object outside session beans, like application context. Is there anything like that? Thanks -
3. Re: cache objects in EJB session bean layer
javatwo Jan 31, 2006 1:24 AM (in response to javatwo)Thanks.
I like to cache an object outside session beans, like application context. Is there anything like that? Thanks