• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate VS Spring

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring is framework with IOC & AOP. Hibernate can be used to connect with daabase with ORM .
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Good night. Drive safely. Here's a tiny ad for the road:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic