[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBossTS/JBossJCA XA/Local transactions

weston.price@jboss.com do-not-reply at jboss.com
Mon Nov 27 13:24:35 EST 2006


anonymous wrote : 
  | Why do you believe you need this support? 
  | 

I am not saying we 'should' support it. I was trying to point out that JBossTM supported this type of scenario Without it, migration efforts to JBoss5 and new development could become costly. 

Consider a few simple scenarios: 

1) I have 2 databases both Postgres. Using JBossTS, I cannot use them simultaneously.

2) My company has DB2 and we would like to use the thin (db2jcc) driver. This driver does not support native XA, but we still want to us it and use multiple LocalTX datasources in our EJBs.

3) I have WebSphereMQ, my company cannot afford the non-transactional client I still want to use the product. I have to be very careful about what scenarios I can use it withing JBoss5, where before I did not.

4) I have n+ applications written on JBoss4 that use 2 or more LocalTx resources. My DB provider does not support XA, or we do not want to pay for XA capability. What do I do? 

anonymous wrote : 
  | Now obviously not ever participant in existance is 2PC-aware. In that case, as with other products such as Tux and CICS, we support LRCO.
  | 

Sigh...yes I know this, but thanks for the good news!. Lord knows I would never have cause to know something like this when working on JCA. Thanks for the clarification.

Let me reiterate, I am not advocating this type of configuration. I am simple stating that previous versions of JBoss supported this and anyone attempting to migrate their applications will most likely run into this issue. Theory and 'best practices' are great, but in the long run, when rubber hits the road these types of scenarios can present real problems in terms of backwards compatibilty.

anonymous wrote : 
  | There's a really good book on the subject: 
  | 

Goddamnit! 

Why does everyone at JBoss feel the need to write up a pontificating book report when the subject of transactions comes up? What's more annoying is that you damn good and well that I own, and have read, this sparkling tome of wisom. In fact we have discussed it! So, I am not sure what you were driving at by posting that in here other than as a shameless plug. 

Maybe if I ask nice enough I can get your autograph too! God knows I would love to have a signed copy of this masterpiece ;-)




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

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



More information about the jboss-dev-forums mailing list