File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring and JEE5/JEE6

 
liao Yang
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Craig

Thank you for coming and help.

I have some experience of Spring 2.5 and EJB3. What I'd like to ask are:

1) What are the major the improvements from Spring 2.5 to 3.0?

2) as EJB are getting better and better since version 3.0, are there any big points the makes people choosing Spring rather than EJB? Or the choice will become a personal preference?

Best regards

Liao
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
 
Craig Walls
author
Ranch Hand
Posts: 363
8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So...new features in Spring 3:
- New Spring Expression language
- First-class REST support
- Annotation-based support for declaring asynchronous and scheduled methods
- Java-based configuration option
- New @Value annotation for wiring values (or expression results) into properties.
- some other stuff that escapes me right now...

EJB 3 vs. Spring: This is largely a personal choice. But you should know that Spring supports the same EJB 3 annotations that provide DI to EJB. And Spring is more than just DI and AOP. By going with Spring, you get all of the other stuff in the Spring Framework and in the greater Spring portfolio.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic