Persistence Layer Description Persistence: Saves the in-memory data to storage devices such as disks. Persisted objects: Refers to business objects that have been stored in the database the Classic software application architecture (three-tier structure)
In the three-tier structure, because the business logic in addition to the business logic, but also responsible for the relevant database operations, in order to better business logic development, a new, separate persistence layer, increased the persistence, the formation of a four-layer structure
Hibernate introduces hibernate as a lightweight framework for open source object-relational mapping (ORM), which encapsulates JDBC, and developers work with the database by using object-oriented thinking to develop persistent layers. How Hibernate works
Hibernate Development Preparation Hibernate development Package official website Download: http://hibernate.org/orm/hibernate Development must jar package
Deploying Hibernate development environment in Eclipse 1 creating a WebProject Project 2 importing Hibernate's mandatory jar package into the Lib directory 3 creating the Hibernate.cfg.xml development environment deployment in the SRC directory is complete.
Hibernate learning Notes (1)---hibernate get started and ready to work quickly