• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring vs EJB 3.0 vs Hibernate

 
Dorothy Taylor
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Pan Grigoreas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have a look at this, it may help
http://blog.springsource.org/2007/11/09/a-response-to-ejb-3-and-spring-comparative-analysis/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic