Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ejb3.0 features

 
ThomasKM Kundukulam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the major advantage of ejb3.0 over the ejb2.0
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic