javax.ejb.Handle getting stale

Discussions

EJB programming & troubleshooting: javax.ejb.Handle getting stale

  1. javax.ejb.Handle getting stale (1 messages)

    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
  2. javax.ejb.Handle getting stale[ Go to top ]

    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 ?