• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate VS Spring

 
Syed Saifuddin
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I am new to hibernate and spring. And First want to know the difference between their functionality.

What I understand from reading an articles from the web they both provide persistance framework. But I want to know the difference in detail

Thankyou
Syed Saifuddin
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate is a persistence framework, while Spring is a web application framework that can make use of Hibernate, but does not include persistence features itself. A better comparison might be Spring vs. Struts/JSF. Why not head over to the Spring web site to read up on what it can do? There's also an introduction on The Server Side.
 
San Nan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring is framework with IOC & AOP. Hibernate can be used to connect with daabase with ORM .
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
Hibernate is a persistence framework, while Spring is a web application framework that can make use of Hibernate, but does not include persistence features itself. A better comparison might be Spring vs. Struts/JSF. Why not head over to the Spring web site to read up on what it can do? There's also an introduction on The Server Side.


Spring does have means to work with Hibernate(support this with its database connectivity features)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic