This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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