I need to model the following situation:

1. a client logs into application server (J2EE).
2. The servlet creates a session bean to maintain client state
3. If a timeout (TIMER1) expires then the session bean's handle is
   serialized and saved in secondary storage.
4. If the client relogs, the system is able to recover the handle
   and restore session
5. If the client doesn't relog and a second timeout (TIMER2 not
   equal to TIMER1) expires then the handle is removed!

WHAT is the right approach according EJB framework?

How can I define entities that monitor state of session communication
with client?

thank you

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to