File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark ""Open-Source ESBs in Action" question: controlling transactions" Watch ""Open-Source ESBs in Action" question: controlling transactions" New topic
Author

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

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
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.


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Jos Dirksen
author
Greenhorn

Joined: Jun 30, 2003
Posts: 15
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Open-Source ESBs in Action" question: controlling transactions
 
Similar Threads
part II - payment transaction query
ESB for Internal/Intranet Applications in an Organization
Log4j Grouping application logs
JBoss support for Enterprise Service Bus
Benefit of using ESB over application server?