The important components in Hibernate architecture are,
- Persistent objects,
- and Transaction.
org.hibernate.SessionFactory : Refers to the cache of compiled mappings (hbm?s or annotation based) for a single database.
org.hibernate. Session : Represents a conversation between the java application and the persistent store. It is a wrapper around JDBC java.sql.Connection.
Persistent objects : JavaBeans/POJOs with the persistent state and business function associated with one org.hibernate.Session.
org.hibernate.Transaction used by Java application to specify atomic units of work. It abstracts the application from the underlying JDBC, JTA or CORBA transaction.