Hi EJB gurus:
Maybe someone had already seen this problem before. Consider a
scenario where a client calls a business method on an EJB. This business
method takes a long time to process (a complex query) and
at some point in time the client decided to cancel this process.
The client cannot tell the EJB to stop the process since it is blocked
by the still-running process.
The EJB cannot use thread to process the long-running process to unblock
itself because it is dangerous (and prohibited) for an EJB to create a
thread.
The way that I can think of to solve this is for the server to periodically
checks the client to see if there is a cancelling method request, but this
method is very costly. (possible?)
Any suggestions?
Thanks very much.
Chad.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".