hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Poilpret" <jfpoilp...@hcm.vnn.vn>
Subject RE: Hivetrance: Does TransactionInterceptor handles all thread services?
Date Fri, 14 Apr 2006 16:55:46 GMT
James,

As per the title of this thread, I'm assuming that they use the hivetranse
TransactionInterceptor, then I take it for granted that I have written it
well, or at least not so bad... ;-)

Cheers

Jean-Francois

-----Original Message-----
From: James Carman [mailto:james@carmanconsulting.com] 
Sent: Friday, April 14, 2006 11:45 PM
To: hivemind-user@jakarta.apache.org
Subject: RE: Hivetrance: Does TransactionInterceptor handles all thread
services?

You're also assuming that they're using a properly written
TransactionInterceptor.  Bottom line, if you apply an interceptor to two
different services and one service implementation calls the service, then
the interceptor will intercept both method invocations.

-----Original Message-----
From: Jean-Francois Poilpret [mailto:jfpoilpret@hcm.vnn.vn] 
Sent: Friday, April 14, 2006 12:44 PM
To: hivemind-user@jakarta.apache.org
Subject: RE: Hivetrance: Does TransactionInterceptor handles all thread
services?

Hi Aleksej,

Yes if you have configured TransactionInterceptor on DAO1 and DAO2 for
instance (I take it for granted that the transaction demarcation used in
config is "Required"), then if DAO1 calls DAO2, it will work the way you
would expect, both calls will be performed in the same transaction.

Cheers

Jean-Francois

-----Original Message-----
From: Aleksej [mailto:aleksej@ivs.lt] 
Sent: Friday, April 14, 2006 2:28 PM
To: hivemind-user@jakarta.apache.org
Subject: Hivetrance: Does TransactionInterceptor handles all thread
services?

Hi everyone,
Perhaps title is a little bit confusing but it was hard to introduce my 
question in one sentence.
I have several services in my application ( DAO mostly ). All of them 
are configured to use
TransactionInterceptor. What will happen if one of them will call 
another? Will TransactionInterceptor
works correctly in such situation?

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message