• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why EJBs?

 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I just started reading EJBs and I thought it'd be nice if you guys can give some input on why you want to use them.

Thanks.
 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Um.. Anybody?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35709
408
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arjun Reddy:
I just started reading EJBs and I thought it'd be nice if you guys can give some input on why you want to use them.

The typical reason is if you want to take advantage of a service provided by the EJB container such as security or transaction support.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my experience in one of the projects that I worked, we had our own trannsaction management object and we had some production level issues due to in appropriate handling of the transaction.

In my current project, we use EJB and I simply do not have to bother about writing transaction related objects by myself. The container simply takes care of it.

This is one of the advantages and of course there are many more with EJB's.
 
Rajah Nagur
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first link of google results of "Why EJBs" gives a required answer for your question.
This is a very general question. Please be specific and Show Some Effort
 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!