aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Usefulness of EJB 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Usefulness of EJB 3" Watch "Usefulness of EJB 3" New topic
Author

Usefulness of EJB 3

Ralph Ching
Greenhorn

Joined: Jul 18, 2006
Posts: 15

Hi all,

When should EJB 3 be used? I mean in what context or situations? High volume applications? Financial Services?
Personally, i haven't seen or coded an EJB project aside from the terribly implemented EJB 2 e-commerce application that i have tested in my previous company.

I am trying to gather all info I can for EJB's cause i want to take the SCBCD 5.0 exam, but i really cannot see its use or its market value when you have simpler alternatives in implementing business objects like what other frameworks (spring, rails, grails, jruby) has shown.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

Ralph,
Spring is the only one you listed that is a direct competitor to EJB. The traditional reasons for using EJB are security/transactions/remoting/etc. Which are now all supported by Spring. EJB does provide benefits if you need failover or to decouple the web layer from ejb layer by server. I haven't dived into Spring enough to know - maybe this is possible now too. In any case, they are features that are rarely used.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Om Tejas
Greenhorn

Joined: Dec 02, 2009
Posts: 27
other advantage of ejb3 is ease of development. With ejb3, you don't have to manage too many deployment descriptors files. However, the latest trend is that organizations are moving towards spring framework because with ejb development there is a the cost involved in licensing issues for hosting ejbs applications.
The architecture is moving towards managing many small tomcat server hosting spring framework along with http server.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

"Unbounded passion"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Usefulness of EJB 3