jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes ejb doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb doubt" Watch "ejb doubt" New topic

ejb doubt

Ramakrishnan thiyagarajan
Ranch Hand

Joined: Oct 07, 2003
Posts: 57
why we using ejb rather than jdbc transaction? pls clear my doubt.
Tausif Khanooni
Ranch Hand

Joined: Nov 14, 2002
Posts: 107
using ejb make ur life so easy.. for example

1. it does database connection for you.. which means if u r changing ur database also u dont have to touch ur code.
2. it maintain and handle connection pooling for you. u dont have to bother about it
3. it does all commit and roll back the transaction automatically.. u dont have to handle exceptions and do ur rollback etc..

so is int it developers life saver??

"Walking on water and building IT Architecture from <br />specification are easy if and only if both are frozen"
I agree. Here's the link: http://aspose.com/file-tools
subject: ejb doubt
jQuery in Action, 3rd edition