Hi Sacha,

We have a solution for this type of situation. It does not fit exactly into
the EJB specification but we have leveraged jBoss to create what we call
IJBs or Interactive Java Beans. These are special EJBs that maintain an
outbound channel back to the client so that the IJB can push asynchronous
messages back to the client. Other than this outbound messaging capability,
IJBs are fully EJB compliant in terms of the deployment descriptor as well
as the techniques for building them.

If you would like more information, let me know.

Andy


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sacha Labourey
Sent: Thursday, January 04, 2001 3:58 AM
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]

Reply via email to