• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

"Open-Source ESBs in Action" question: controlling transactions

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Let's suppose I have an application developed using Oracle as database and other using Mainframe(Cobol, CICS, DB2), and I want to use an ESB to connect these two applications.
If I have a transaction which starts at application 1 and goes till application 2, the ESB will control this transaction?

Thank you.
 
author
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since Tijs has problems logging in, I'll post his answer to this question:

It's important to remember that when you want to use transactions with an ESB the ESB handles the transaction management. This means that you can't start a transaction in application 1 and use that one throughout the ESB for the communication with application 2.

ESBs however can be used together with JTA, JMS or JSBC transactions. So if you connect with the applications using these technologies, you can use the ESBs to handle the transactions.

Note though that the ESBs do support XA transactions, but unfortunately not much other products do. So you can use XA transactions together with JMS and JDBC, but usually when you want to use this with other applications your often forced to buy expansive custom adapters for this.
 
reply
    Bookmark Topic Watch Topic
  • New Topic