ONJava.com: POJO Application Frameworks: Spring Vs. EJB 3.0: "Although Spring and EJB 3.0 both aim to provide enterprise services to loosely coupled POJOs, they use very different approaches to archive this goal. Dependency Injection is a heavily used pattern in both frameworks.
With EJB 3.0, the standards-based approach, wide use of annotations, and tight integration with the application server all result in greater vendor independence and developer productivity. With Spring, the consistent use of dependency injection and the centralized XML configuration file allow developers to construct more flexible applications and work with several application service providers at a time"
I've been using Spring for 2 years now....This is a very interesting comparison between EJB 3.0 and Spring. Eventually EJB had to take the Spring-like POJO approach.....my question is...Will EJB 3.0 applications run on any Servlet Container? Spring applications do.
Subscribe to:
Post Comments (Atom)
0 comments :: Spring Vs. EJB 3.0
Post a Comment