Hibernate Architecture

Hibernate has a layered engineering which encourages the client to work without knowing the hidden APIs. Hibernate makes utilization of the database and configuration data to persistence services (and persistent objects) to the application.

Following is a very high level view of the Hibernate Application Architecture.

HB config file  ---------> 1 per DB
HB mapping file ----------> 1 per DB table
Domain/Entity class ----------> 1 per DB table

Hibernate utilizes different existing Java APIs, as JDBC, Java Transaction API(JTA), and Java Naming and Directory Interface (JNDI). JDBC gives a simple level of deliberation of usefulness common to relational  databases, permitting any database with a JDBC driver to be bolstered by Hibernate. JNDI and JTA enable Hibernate to be coordinated with J2EE application servers.

No comments:

Post a Comment