File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 17276

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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Ejb3.0 features
jQuery in Action, 3rd edition