*
The moose likes EJB and other Java EE Technologies and the fly likes Spring vs EJB 3.0 vs Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Spring vs EJB 3.0 vs Hibernate" Watch "Spring vs EJB 3.0 vs Hibernate" New topic
Author

Spring vs EJB 3.0 vs Hibernate

Dorothy Taylor
Ranch Hand

Joined: Nov 26, 2007
Posts: 104
Hi

Could anyone please suggest the pros and cons of either of these: Spring, EJB 3.x, Hibernate. In what situations should each of these be preferred?
Pan Grigoreas
Greenhorn

Joined: Jan 30, 2012
Posts: 2
Hi there,

as far as it concerns EJB 3.0 and Hibernate, the former is a specification (ie. how things should work)
while Hibernate is the JavaPersistenceApi realization of that specs in the form of an API. So one can use Hibernate as
the EJB 3.0 JPA provider in the realm of an EJB 3.0 capable application server.

I hope someone else has all the detail you're looking for


<SCJP>, <SCBCD>
Pan Grigoreas
Greenhorn

Joined: Jan 30, 2012
Posts: 2
have a look at this, it may help
http://blog.springsource.org/2007/11/09/a-response-to-ejb-3-and-spring-comparative-analysis/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring vs EJB 3.0 vs Hibernate
 
Similar Threads
EJB vs Other technologies ?
EJB 3 vs Spring
Hibernate/Spring/ Struts vs. EJB 3.0 on JBOSS
Spring vs Tapestry
EJB 3.0 vs Spring