This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb doubt  RSS feed

 
Ramakrishnan thiyagarajan
Ranch Hand
Posts: 57
  • 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
  • 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??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!