> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Andy Abate
> Sent: Thursday, August 03, 2000 3:18 PM
> To: jBoss Developer
> Subject: Re: [jBoss-Dev] rmi,transactions,orbs [was: TransactionImpl]
>
>
> Something must have dropped out midstream.
> I am asking here about your train example for transactions.
> NA in my reply is North America.
>    If I am moving the execution responsiblility for a task from one set of
> tracks to another, does the original set of tracks become free? I wouldn't
> think so as the task completion has to be reported doesn't it? If not
> through
> this mechanism, then how?

hmmmm parallels can be tricky.  Analogy thinking can be misleading.

In essence, yes the "track" becomes free to carry another train.  we have
suspended the association between the train 1 and track 1 and can put train
2 on track 1 (another method invocation  with another Tx Context running on
that same thread).  The "task" completion callback (the Synchronization
interface or XA as well) talk to the "transaction" and associated listeners
(wrappers, Ressource man etc ) but not to the tracks (the thread)... the
train tracks don't care that you completed your final journey in another
continent.

The train doesn't stop its voyage, it is not "suspended". The thread is free
to do something else. (in case of rmi = die AFAIK, rickard? rmi pools of
thread re-use?)

JTS "suspend" is suspend the "transaction", aka, the voyage (like freeze the
train in time)
JOnAS tm.setPropagationContext(null) or jboss2.0 tm.disassociateThread() are
the "suspension" or more precisely "association/disassociation" mechanism
between thread-tx we are looking for..

:)))

marc
>
> ----- Original Message -----
> From: "Rickard �berg" <[EMAIL PROTECTED]>
> To: "jBoss Developer" <[EMAIL PROTECTED]>
> Sent: Thursday, August 03, 2000 2:25 PM
> Subject: Re: [jBoss-Dev] rmi,transactions,orbs [was: TransactionImpl]
>
>
> Hi!
>
> Andy Abate wrote:
> > Rickard what happens to the thread that was in NA? Isn't it more like
> > the cars go across the pond but the engines stay where they are? If
> > so, does this mean that the NA engine is effectively "blocked" until
> > the transaction completes?
>
> Not quite with you. Please expand.
>
> /Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
>
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
>
>


Reply via email to