[jboss-dev-forums] [Design of JCA on JBoss] - Re: Resource adapter transaction timeout enforcement

david.lloyd@jboss.com do-not-reply at jboss.com
Wed Sep 19 08:02:00 EDT 2007


"adrian at jboss.org" wrote : For a general XAResource you should do both.
  | There should be a real (local) timeout in the backend and frontend timeout to cover network splits, etc.

Ok, that makes sense.

"adrian at jboss.org" wrote : My question is why are you using an XAResource for remoting?  What state do you have to persist during prepare?  Do you really need to vote in 2PC?

Remoting has no state, or direct awareness of transactions.  However, whatever service you're connecting to by way of Remoting may (and probably does).  The reason Remoting 3 has this capability is so that there's a single standard way to propagate transaction state between endpoints - whether it's a database to an app server, two app servers together, or two client applications that don't even know anything about JTA or JCA or anything like that.


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

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



More information about the jboss-dev-forums mailing list