[jboss-dev-forums] [Design of JCA on JBoss] - Re: UOW port to JCA adapter for JBAS-3183

adrian@jboss.org do-not-reply at jboss.com
Thu Aug 31 10:10:21 EDT 2006


The XIDFactory is a red-herring.

It is only used when it is configured with an XAConnectionFactory
and it knows it is going to eventually use 1PC, i.e. there will
be no other resources in the transaction.

This will be true for BMT or CMT/NotSupported.

In this case, it optimizes away the JTA transaction and drives
the "transaction" itself.

All it needs is a mechanism to generate unique XIDs
so it can control the XAResource.

Using the XIDFactory from JBossJTA is one mechanism, 
but not necessarily the cleanest, especially when
we are moving to JBossTM for JBoss5 anyway.

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

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



More information about the jboss-dev-forums mailing list