At 12:10 20.11.00 , you wrote:
>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

simple answer: no, not from an ejb. two ways to do it
1) use a non-ejb client (e.g. a servlet to make the multithreaded requests)
2) use message driven beans of ejb2.0 (risky if this is for a real life 
project as ejb2.0 isn't even final yet)

robert

>that is not possible to use threads in EJB.
>
>[]s
>Guilherme Ceschiatti
>[EMAIL PROTECTED]
>

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


Reply via email to