This content has been marked as final.
Show 1 reply
-
1. Re: Caching client ejb connections
triathlon98 Nov 13, 2005 3:29 PM (in response to tim5901)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