In your example "suspend" would mean "suspend the trip" altogether, not
suspend the trip on the railroads.

Suspend in JTS, and that is how it was done in jonas, means "suspend the
transaction going on" (the one associated with the thread since you don't
pass anything explicitely).   We just need a "suspend" on the track really
that says "the train is no longer traveling on the tracks"...

but that train keeps on running, my friend, oh yes! it keeps on running and
running and ...


got it?

marc


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
> Sent: Thursday, August 03, 2000 11:46 AM
> To: jBoss Developer
> 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
>
>


Reply via email to