I have a stateful session bean and I want to be notified if it is not called for a specific time. So what I need is a timeout mechanism, but I know that's not possible for statefull sessions beans. Is there any way to do something similar?
I need this for a polling chat. I want to set the user to state offline if he hasn't been active for a specific period of time. This period may be shorter than the http session timeout.