Member Menu
 
 Monthly JBoss newsletter:
 
Java Persistence with Hibernate
CaveatEmptor

Application Architecture

Hibernate is architecture-agnostic. Because Hibernate provides persistence as a service, rather than as a framework, it integrates seamlessly with various application architectures. We will show two common (recommended) architectures incorporating Hibernate as a persistence layer. More detailed architectural diagrams may be found in the reference documentation.

Web (two-tiered) Architecture

Hibernate may be used to persist JavaBeans used by servlets/JSPs in a Model/View/Controller architecture.

Enterprise (three-tiered) Architecture

Hibernate may be used by a Session EJB that manipulates persistent objects. (Or Hibernate might be used to persist a coarse-granularity BMP entity bean.)

© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]