> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
> Sent: Thursday, August 03, 2000 11:07 PM
> To: jBoss Developer
> Subject: Re: [jBoss-Dev] rmi,transactions,orbs [was: TransactionImpl]
>
>
> Yo
>
> Rickard �berg wrote:
> > Basically, the question is:
> > Can a tx be associated with more than one thread at a time?
> > If no: TM.suspend/resume is right
> > If yes: get/setPropagationContext is right
> >
> > What's the right choice?
>
> This little homeboy actually went and, like, read specs and stuff, and
> here's da gory details:
> "The Transaction Manager allows multiple threads to be associated
> with the same transaction concurrently, in the same JVM or in multiple
> JVMs."
>
> The answer is hence, Yes, it can be associated with several threads at
> the same time. Go figure.
>
> So, get/setPropagationContext is needed.
>
> (But Marcs description of how RMI threads can be reused and all that is
> still wrong)
>
> Alright, that shouldn't be that hard to do.


it's done already (check the TM) in fact it is the *same* code you wrote ;-)
but under a different name.

marc

>
> /Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
>


Reply via email to