Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EJB and Spring

843830Dec 21 2005 — edited Jan 5 2006
Hi,

As I know, the Spring framework is not just a container for POJOs. However,I usually see articles that describe the comparison between EJB and Spring. Why? I am curious about this.

EJB is just a specification of J2EE. The EJB runs in a EJB container in the J2EE environment.
Spring uses and wires lots of J2EE specifications together such as JSP/Servlet/JaveBean/JDBC to provide the service in the J2EE environment. Also, it could uses the EJB.

So, why does we want to compare EJB to Spring?

Thank you for your advice.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2006
Added on Dec 21 2005
11 comments
187 views