I have a client that does a series of HTTP requests to the server. The server 
needs to maintain state between this requests, so I have used a Stateful 
Session EJB. In between requests the client does some processing before 
continuing. There is no user interaction required, though the user may cancel 
the process.

If the user cancels, or there is a processing error, or connection timeout, 
etc. I want to remove the stateful session bean since the state is no longer 
required. The client will start another session instead of resuming.

So how can I set a timeout for removal of the stateful session bean? For 
example, if there has been 90 seconds of idle time on the use of the bean I 
would like it to be removed, and thereby freeing the resources that are no 
longer needed.

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to