• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Spring and JEE5/JEE6

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41506
881
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For question #1 see this thread
 
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic