As a general Java rule; if you want to perform N simultaneous tasks at the same time 
use diferent threads.

So, from CA you can create 1 thread to invoke CB methods and another for CC.

Be carefull, you cacn only mix data when both threads have finalized.

HTH.
Pablo.


>>-----Mensaje original-----
>>De: Wasiq Hasan [mailto:[EMAIL PROTECTED]]
>>Enviado el: miércoles, 25 de septiembre de 2002 19:19
>>Para: [EMAIL PROTECTED]
>>Asunto: how to call methods on two components asynchronus
>>
>>
>>Hi all, how can i call methods on two different components 
>>asynchronously from a third
>>component.
>>There are three components CA, CB, CC,
>>CB and CC has methods which call different databases to get data
>>CA call those methods in CB and CC get the data and combine them.
>>
>>thanks
>>wasiq
>>
>>--
>>To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


_____________________________________________________________ 
Uni2 Telecomunicaciones, S.A.U. 
Aviso legal: 

Este mensaje electrónico está dirigido únicamente a la(s) dirección(es) indicadas 
anteriormente; el carácter confidencial, personal e intransferible del mismo está 
protegido legalmente. Cualquier revelación, uso o reenvío no autorizado, completo o en 
parte, está prohibido. 

Si ha recibido este mensaje por equivocación, notifíquelo inmediatamente a la persona 
que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo 
ni grabarlo, total o parcialmente. 

Gracias 

Reply via email to