[infinispan-dev] running test suite with JBossTM vs DummyTM

Erik Salter esalter at bnivideo.com
Mon Jan 24 11:49:26 EST 2011


+1!

>From a user's perspective, we've written a lot of JIRAs on issues that were revealed when using a JTA TM instead of the Dummy TM.

Erik

From: infinispan-dev-bounces at lists.jboss.org [mailto:infinispan-dev-bounces at lists.jboss.org] On Behalf Of Mircea Markus
Sent: Monday, January 24, 2011 10:35 AM
To: infinispan -Dev List
Subject: [infinispan-dev] running test suite with JBossTM vs DummyTM

Hi,

Right now we are running our test suite using DummyTM.
This is mainly for suppling users with a default, lightweight TM. And avoid a additional dependency.

Even though this worked well for us so far, this might not be such a good idea after all: there are many not-so-obvious rules to be considered when implementing such a transaction manager  which, if not implemented might make our XAResource implementation work badly even though it works fine(eg [1]). Or even worse, it might make it look okay even though it doesn't.
 On top of that there are grey areas in JTA spec, for which different vendors use different approaches. By using/testing against JBossTM we can document these usages and stick with (the recommended?) JBossTM functionality.

Taking this one step further, wondering weather it makes sense to keep the DummyTM as it is in our code base, given the fact that it is far away from implementing the spec. One solution would be to enhance it (-1 IMO), another to replace it. Perhaps with a lightweight JBossTM?

Cheers,
Mircea


[1] http://lists.jboss.org/pipermail/infinispan-dev/2011-January/007243.html

________________________________
The information contained in this message is legally privileged and confidential, and is intended for the individual or entity to whom it is addressed (or their designee). If this message is read by anyone other than the intended recipient, please be advised that distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete or destroy all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110124/6eceb372/attachment.html 


More information about the infinispan-dev mailing list