• Post Reply Bookmark Topic Watch Topic
  • New Topic

Disributes Transactions in EJB  RSS feed

Joginder Raperia
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a little bit confused about the distributed transactions.I need some clarifications on the following things.
1. If I have a method in EJB for which I have defined the transaction-attribute as 'Required' and I am using different resources in that method
a)Sending message to some JMS destination (Queue)
b) updates to database
In this case if the driver I am using is not XA compliant ,what will happen.Will any exception be thrown or what?
2. Is it possible that the JMS Message sender and the receiving MDB (MessageDrivenBean) participate in the same trabsaction if we use XA driver?
Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!