You can cache home objects, but caching actual beans is probably problematic. 
This would be good if you are sure the bean is used very often. However, 
otherwise, it will probably cause exceptions. Depending on your settings the 
bean will first be passivated and later removed after not being used for a 
certain time. When you then try to access the bean (because of your cache), and 
jboss has already removed it, exceptions will occur. IIRC bean removal will 
occur after 20 minutes.

Joachim

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906985


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to