Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transactions  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!