If you choose to go to Message Driven EJB2.0 beans, you can use JMS to
achieve what youre after.
This is the only way of doing asyncronus calls to the buissiness layer...

And youre right threading is not allowed in EJB..

Klaus

-----Opprinnelig melding-----
Fra: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sendt: 20. november 2000 16:59
Til: Orion-Interest
Emne: RE: Execute 2 Session Beans concurrently - Is thread possible?


perhaps you could use MessageBeans...

I don�t think that asynchronic execution is valid in EJB, nor it will ever
be...

-----Original Message-----
From: Storm Linux User [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 20 de Noviembre de 2000 11:10
To: Orion-Interest
Subject: Execute 2 Session Beans concurrently - Is thread possible?


Hi.

It's possible to execute 2 different session beans concurrently, for the
same 
session(user)? I will explain... My user needs to execute remote code on
many 
machines. I had the idea to put an session bean in each machine, and then
get 
an reference for this beans in my local session bean. But how can I start
one 
method for the remote bean without waiting for it to return, so that I can 
call the method for the other remote bean, concurrently? I've saw somewhere 
that is not possible to use threads in EJB.

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]


Reply via email to