Hibernate Study Notes (1) --- Quick Start and preparation of hibernate,
Persistence Layer: stores data in memory on disks and other storage devices. Persistent Object: refers to the business object that has been stored in the database with disk protection. The classic software application architecture (three-tier structure)
In the three-tier structure, because the business logic is not only responsible for the business logic, but also responsible for the relevant database operations, in order to better develop the business logic, a new, independent persistence layer is formed, after persistence is added, a layer-4 structure is formed.
Hibernate is a lightweight framework of open-source object-relational ing (ORM). It encapsulates JDBC and developers use the object-oriented idea for persistent layer development, operate the database. How hibernate works
Hibernate development preparation hibernate Development Kit official website download: http://hibernate.org/orm/hibernatejarjar
Deploy the hibernate development environment in Eclipse. 1. Create a webproject. 2. Import the required jar package of hibernate to the lib directory. 3. Create the hibernate. cfg. xml development environment in the src directory.