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.
Also, how do you change the session bean timeout value?
thx
-
javax.ejb.Handle getting stale (1 messages)
- Posted by: jasmeet bhatia
- Posted on: October 18 2002 19:49 EDT
Threaded Messages (1)
- javax.ejb.Handle getting stale by Jitender Bhatia on October 19 2002 05:50 EDT
-
javax.ejb.Handle getting stale[ Go to top ]
- Posted by: Jitender Bhatia
- Posted on: October 19 2002 05:50 EDT
- in response to jasmeet bhatia
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 ?