I assume what you're after is the Last Resource Commit Optimization, but there may be 
a couple of things mixed in here.

Firstly, you don't have a choice as to what kind of resources are registered with 
JBoss TM - they have to be implementations of the XAResource interface since you're 
coming in through JTA. So, and here's where some of the confusion resides, if you want 
to register a non-XAResource participant but it's still two-phase aware, then you'd 
have to wrap it in an XAResource and ensure it obeys that protocol.

However, if what you've got is a resource (derived from, or wrapped by XAResource 
again, of course) that isn't two-phase aware, then you do need to LRCO. And fairly 
obviously you don't necessarily commit on the last resource.

Unfortunately it's not a required part of X/Open XA or JTA (JTA doesn't even mention 
it). Neither is ordering of participants in the transaction's intentions list, which 
you'd like to do for a number of other reasons.

I don't think JBoss TM supports it. If that is the case, the Arjuna+JBoss integration 
may be worth a look.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822026#3822026

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822026


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to