aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring and JEE5/JEE6" Watch "Spring and JEE5/JEE6" New topic
Author

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

Liao
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30938
    
158

For question #1 see this thread


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Craig Walls
author
Ranch Hand

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


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: http://aspose.com/file-tools
 
subject: Spring and JEE5/JEE6