Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transactions

 
Pramoda Bhat
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm very new to handeling transactions.. can some one tell me the exact steps of how to achieve container managed transaction, preferably with the sample code.
We are using JBOSS, so if some one could tell me what to enter in ejb-jar.xml it would be really helpful..
Thanks in advance
 
alec stewart stewart
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u have to make the following entry in the ejb-jar.xml

<transaction-type>Container</transaction-type>
 
Pramoda Bhat
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.. I implemented it... It wasn't tough at all
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic