permaculture playing cards*
The moose likes EJB and other Java EE Technologies and the fly likes How to deal with Transactions : Design query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to deal with Transactions : Design query" Watch "How to deal with Transactions : Design query" New topic
Author

How to deal with Transactions : Design query

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Please tell me the design issue for controlling Transactions , what is the pros and cons for each ??regarding controlling Transactions from a Client and from a Bean Component

Controlling from the client From My servlet which acts as a client EJB Bean :

// Assuming there is a Hello EJB interface with a method callMethod();


and the below is directly controlling Transactions from the Bean itself



Please tell me what will be the good pratice and why .


Save India From Corruption - Anna Hazare.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to deal with Transactions : Design query