Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Hibernate VS Spring

 
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
 
Rancher
Posts: 43016
76
  • 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.
 
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 .
 
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)
 
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic