i am using a stateful session bean and caching the javax.ejb.Handle handle to it, but i think the session bean is timing out if there is a lull period in the session. This leads to handle getting stale. What is the solution to that? should i switch from caching the handles to caching the remote reference? I dont need to pass the handle to another enterprise bean.
- Posted by: jasmeet bhatia
- Posted on: October 18 2002 19:49 EDT
Also, how do you change the session bean timeout value?
Adding one more similar question...
How do u handle the same problem in case of entity beans ? Is it advisable to cache the handle to a entity bean at all ?