File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring and JEE5/JEE6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring and JEE5/JEE6" Watch "Spring and JEE5/JEE6" New topic

Spring and JEE5/JEE6

liao Yang
Ranch Hand

Joined: Dec 27, 2006
Posts: 36
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

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33134

For question #1 see this thread

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Craig Walls
Ranch Hand

Joined: Sep 19, 2003
Posts: 335
    5 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.

Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
I agree. Here's the link:
subject: Spring and JEE5/JEE6
It's not a secret anymore!