aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Transactions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transactions" Watch "Transactions" New topic
Author

Transactions

Pramoda Bhat
Ranch Hand

Joined: Oct 17, 2003
Posts: 32
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

Joined: Dec 23, 2003
Posts: 71
u have to make the following entry in the ejb-jar.xml

<transaction-type>Container</transaction-type>
Pramoda Bhat
Ranch Hand

Joined: Oct 17, 2003
Posts: 32
Thank you.. I implemented it... It wasn't tough at all
 
Consider Paul's rocket mass heater.
 
subject: Transactions