This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Ejb3.0 features Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Ejb3.0 features" Watch "Ejb3.0 features" New topic

Ejb3.0 features

ThomasKM Kundukulam

Joined: Sep 20, 2006
Posts: 2
What is the major advantage of ejb3.0 over the ejb2.0
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17250

Much much easeier to use and create.

1. Dependency Injection, no more looking up local beans, DataSources, etc.
2. Annotations, no need to use xml configuration files. Also the Annotations have smart defaults, meaning you only make Annotations on your code for the exception to the rule.
3. JavaBeans, no longer need to implement or extend EJB specific classes, etc.
4. Can be tested outside a container because they are POJOs
5. Better Entity Beans with Java Persistence API
6. Entity Beans are faster because of using the best of the ORM technologies that are out there.
7. Many more


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
jQuery in Action, 2nd edition
subject: Ejb3.0 features