XA protocol

Discussions

EJB design: XA protocol

  1. XA protocol (2 messages)

    Could someone brief about this protocol and its significance

    Thanks in Advance

    Threaded Messages (2)

  2. XA protocol[ Go to top ]

    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.
  3. XA protocol[ Go to top ]

    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.