This content has been marked as final.
Show 3 replies
-
1. Re: Interrupting a stateful session bean in use
waynebaylor Aug 9, 2007 8:06 PM (in response to mike.nardone)if you have access to the sfsb code you could try adding a "stop processing" flag. when the client wants to cancel you can set the flag, which the sfsb would be checking periodically.
-
2. Re: Interrupting a stateful session bean in use
mike.nardone Aug 10, 2007 2:19 PM (in response to mike.nardone)The issue there is that the client can't set a flag in the SFSB directly because the bean is in use by the server at the same time you'd want to set the flag (hence the concurrent access exception).
-
3. Re: Interrupting a stateful session bean in use
mike.nardone Aug 10, 2007 2:54 PM (in response to mike.nardone)Excuse me, I misunderstood. We are currently setting a flag in the client. However, it's a single method call in teh SFSB that eats a ton of processing, and so while we can have the bean check the flag between methods, that doesn't help us as much as we might like.