aspose file tools*
The moose likes Other Application Frameworks and the fly likes Hibernate VS Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Hibernate VS Spring" Watch "Hibernate VS Spring" New topic
Author

Hibernate VS Spring

Syed Saifuddin
Ranch Hand

Joined: Sep 01, 2003
Posts: 130
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


Thank You & Best Regards,

Syed Saifuddin,
Senior Software Engineer

SAP Oracle AIX & Java Training
http://www.socialinet.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42635
    
  65
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.


Ping & DNS - my free Android networking tools app
San Nan
Greenhorn

Joined: Jul 01, 2005
Posts: 22
Spring is framework with IOC & AOP. Hibernate can be used to connect with daabase with ORM .
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
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)


Kishore
SCJP, blog
 
 
subject: Hibernate VS Spring