You are not using threads in ejb. How client calls ejb (from threads or single application) doesnt matter.
 
--Ashwani
----- Original Message -----
From: 최정길
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 ~~
-----------------------------------------------
즐거움이 가득한 인터넷 커뮤니티!! 비씨라인 닷 컴
20(최고 100)메가 무료 메일공간, POP3지원, 수신 확인..
http://www.bcline.com

Reply via email to