Could someone brief about this protocol and its significance
Thanks in Advance
-
XA protocol (2 messages)
- Posted by: Sureshkumar Vijayaraghavan
- Posted on: April 28 2003 06:27 EDT
Threaded Messages (2)
- XA protocol by Kishor Atigre on April 28 2003 11:26 EDT
- XA protocol by Thomas Risberg on April 28 2003 23:20 EDT
-
XA protocol[ Go to top ]
- Posted by: Kishor Atigre
- Posted on: April 28 2003 11:26 EDT
- in response to Sureshkumar Vijayaraghavan
Could someone brief about this protocol and its significance
>
> Thanks in Advance
You need XA Datasources if your application requires distributed transactions
By distributed transactions, meaning
1. You have multiple dbs spanned in a single transaction
2. You have distributed objects in the application participating in a single transaction. -
XA protocol[ Go to top ]
- Posted by: Thomas Risberg
- Posted on: April 28 2003 23:20 EDT
- in response to Kishor Atigre
Could someone brief about this protocol and its significance
> >
> > Thanks in Advance
>
> You need XA Datasources if your application requires distributed transactions
> By distributed transactions, meaning
> 1. You have multiple dbs spanned in a single transaction
> 2. You have distributed objects in the application participating in a single transaction.
Just wanted to add:
3. You use multiple resources managed by the server in a transaction. Like a database and a message queue. If your message bean is required to execute within a transaction and it updates a database, then the server must be able to confirm with both the database server and the JMS server that the transaction can commit or that it should be rolled back. You don't want to have the database roll back the changes without putting the message back on the queue for re-processing or vice versa.