What is the difference between hibernate and Spring

Showing Answers 1 - 6 of 6 Answers

srini

  • May 3rd, 2007
 

Hibernate is ORM tool used for data persistency.

Spring is a framework for enterprise applications with default APIs for presentation, middle tiers and presistence layers and allows to integrate with various presentations, middle tier and presistence APIs like Hibernate, Struts, Ibatis, JMS, MQ series etc.

Hibernate is used to interact with database.i.e if we want to save some data then we use hibernate or jdbc or some other tools available in the market.But it is not possible for struts or spring to store or retrieve data directly .So struts or spring are like MVC framework tools .These tools says that how to manage the different files i.e arrange those files in specified order.The interesting thing is there are also going to use jdbc or hibernate to do some operations with database

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions