Hi Sacha
That would require you start a thread inside your EJB which is specifically
out-lawed by the spec'. Kick the thread off on the client instead and have
the client thread notify the rest of your client when the call to the bean
returns.
Edward
-----Original Message-----
From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
Sent: 04 January 2001 11:58
To: jBoss-User mailing list
Subject: [jBoss-User] Callback to clients
Hello,
Imagine the case where I want to call an EJB (statefull session or entity
for example) to tell him to perform some action, let's say to download a
file for example.
What I would like is that the EJB gives back the hand directly to the client
(i.e. the method call returns) but continues to perform its lenghty process
in the background. When finished, it calls back the client (through a
reference given during the first method call) and tell him the download is
finished.
This does not seem to fit in the EJB concept. Am I wrong?
How to implement these call-back and server background processing with the
EJB?
Thank you. Cheers,
Sacha
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]