[jboss-user] [EJB 3.0] - Timers in stateful session bean?

Strunker do-not-reply at jboss.com
Sun Jan 14 14:59:26 EST 2007


Hello,

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.

Has anybody an idea? Thanks very much!

Strunker



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001568#4001568

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001568



More information about the jboss-user mailing list