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

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: 17271

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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Ejb3.0 features
It's not a secret anymore!