Explain the difference between hibernate and Spring.- Hibernate is an ORM tool for data persistency.
- Spring is a framework for enterprise applications. Spring supports hibernate and provides the different classes which are templates that contains the common code.Explain the difference between hibernate and Spring.- Hibernate provides a lot of feasibility while dealing with the database.
- It provides with ORM where in you are able to perform database transaction is the form of objects mapped to corresponding table, using configuration xml files.
- Spring, on the other hand is a framework that helps you follow the MVC architecture in an effective and efficient way. It simplifies writing back end code as well as front end stuff providing clear demarcation simultaneously.
|