Maybe you did not quite understand my problem. It is not of one client talking to 
different servers. I want to write one client software that has two or more
open transactions running on one server. For the current transaction is transmitted 
transparently, I do not know how to add a transaction to a new thread.
Maybe I did not write this clear enough. We need this for we are writing a client 
software that lets the user start many transactions in different windows.
But maybe... If I think over it, I think you are right. Yes, sure, for we could use 
short living transactions this would be no problem at all.

Sorry and thank you! :-)
Markus


> EJB containers are not databases, you don't have to connect them. You get a
> reference to a distributed component (EJB) through its home registered in
> the naming service (JNDI). Thus, if you have several EJB containers runing
> in differents JVM (local or remote) they have to share the same "registry".
> Moreover, in this case, you have to run only one transaction manager that
> will be the coordinator for all the containers.
> If your environment complies to these points you will be able to access
> components in your client from different EJB containers (either in the same
> thread or in differents).
>
> Hope it helps.
>
>
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de
> [EMAIL PROTECTED]
> Envoy� : mercredi 27 juin 2001 16:07
> � : [EMAIL PROTECTED]
> Objet : Running more than one EJB client inside of one client software?
>
>
> I need to know whether it is possible to have more than one connection to an
> EJB server inside of one Java Client Application. Is there a method as
> "create
> new connection and attach it to a new thread" or something, or is this done
> automatically if I create a new thread and inside of this connection to the
> EJB
> server?
>
>
> To: [EMAIL PROTECTED]
>     [EMAIL PROTECTED]

Reply via email to