|
You are not using threads in ejb. How client calls ejb (from threads or
single application) doesnt matter.
--Ashwani
----- Original Message -----
Sent: Tuesday, July 30, 2002 1:53
PM
Subject: Simultanously handling multiple
sessionbean like multithrea ... ???
I should like to get return value through processing three
sessionbean simultaneously in EJB like Thread Programing in normal
programming. Simple for example...
SimpleManager { simpleMethod(String id) { // this part
must be done like multithread programming.... String a =
aRemote.get(id); String b = bRemote.get(id); String c =
cRemote.get(id);
return a+b+c; } } *) here, SimpleManager,
aRemote, bRemote, cRemote is SessionBean
Simply for example like this
way, it call each remote sessionbean step by step.. i know to call these
remote sessionbean simultaneously, not step by step like multithread
programming .. And after all is done, i must know each return value. (a, b,
c...)
I wanna know how to find solution. Because it is not
recommended to use Thread in EJB....
sorry for my poor english... i
wait your answer, bye ~~
|