<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>Thinking some more about batching API(thanks galder!) I think its main benefit it brings is allowing users to use transactions without having to set up/download an TransactionManager.</div><div>Very similar to what Brian was describing here:&nbsp;<a href="http://community.jboss.org/wiki/BatchModeTransactionManager">http://community.jboss.org/wiki/BatchModeTransactionManager</a></div><div>"<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'Lucida Sans Unicode', 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; font-size: 12px; ">This is all great, but there are uses cases where it's nice to have many of these benefits without the involvement of a JTA Transaction</span>"</div><div><br></div><div>I think we should allow people a similar approach, having our own&nbsp;<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; ">BatchModeTransactionManagerLookup and&nbsp;</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; ">BatchModeTransactionManager.&nbsp;</span></div><div><font class="Apple-style-span" color="#5B5B5B" face="'courier new', courier"><span class="Apple-style-span" style="border-collapse: collapse;">Again, this is something to be used when users don't need distributed transactions, and don't want to get their hands dirty with setting up a TM.&nbsp;</span></font></div><div><font class="Apple-style-span" color="#5B5B5B" face="'courier new', courier"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" color="#5B5B5B" face="'courier new', courier"><span class="Apple-style-span" style="border-collapse: collapse;">Instead of&nbsp;</span></font><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; ">BatchModeTransactionManager we can use Britronix JTA[1] as it is a "</span><span class="Apple-style-span" style="font-family: Helvetica, Arial, sans-serif; font-size: 13px; line-height: 17px; ">a simple but complete implementation of the JTA 1.1 API</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; ">". Drools is using that and they are happy with it. Actually what about replacing our DummyTM with this one? Less code to maintain and our tests would be run with a more-close-to-spec TM.</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; ">Wdyt?</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; ">Cheers</span></div><meta charset="utf-8"><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(91, 91, 91); font-family: 'courier new', courier; font-size: 12px; ">[1]&nbsp;</span><a href="http://docs.codehaus.org/display/BTM/Home">http://docs.codehaus.org/display/BTM/Home</a></div><meta charset="utf-8"><meta charset="utf-8"><meta charset="utf-8"><div><br></div><div><br></div><div>&nbsp;&nbsp;</div></body></html>