[jboss-user] [EJB 3.0] - Interrup a SLSB process
AmiraTalbi
do-not-reply at jboss.com
Tue Mar 3 04:49:29 EST 2009
Hi all;
I have an urgent problem,
I have a SLSB that is doing some work, and at any time, I can receive an abort request to interrup the SLSB process via an MDB.
I made this ejb extend Runnable, and I succeded to stop it, but in best practices I havent to use threads routines in any EJB. So I searched about an other issue, but I can't find it.
Can U please describe me an other way to interrup SLSB process. I dont want to use an extra variable, beacuse, this will be applicated for more more than 2 SLSBs.
SSB _____ SLSB 1
|______ SLSB 2
|________ SLSB 3
The SSB (Stateful Session), is the responsable to interrupt ( SLSB1, SLSB2 et SLSB 3)
Thanks in advance :-)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214439#4214439
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214439
More information about the jboss-user
mailing list