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?
----- Original Message -----
From: "Rickard �berg" <[EMAIL PROTECTED]>
To: "jBoss Developer" <[EMAIL PROTECTED]>
Sent: Thursday, August 03, 2000 1:46 PM
Subject: Re: [jBoss-Dev] rmi,transactions,orbs [was: TransactionImpl]
Hi!
marc fleury wrote:
> It's "suspend the transaction", which one? the one associated with the
> thread.
> The call we need is "remove the association" but DON"T suspend the
> transaction (the transaction can keep on running)
>
> is it clearer?
Nope. The semantics of "suspend" and "resume" seems to fit the bill to
me.
Picture a railroad("thread"). There's a train("tx") on it, chugging
along nicely. At some point it hits the Atlantic ocean and needs to
stop("suspend"). It is then transported over the ocean on a boat ("RMI
call"), and when it comes to the European side of the pond, it is put on
another set of rails ("thread") and continues ("resume").
(Gotta have some imagination to do real coding ;-)
So, in my twisted little mind suspend and resume works just fine.
So, what am I missing? What is the difference in semantics between
"suspend" and "resume", and what you want?
/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