File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb doubt

 
Ramakrishnan thiyagarajan
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
why we using ejb rather than jdbc transaction? pls clear my doubt.
 
Tausif Khanooni
Ranch Hand
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic