|
Quick Start
Application ArchitectureHibernate 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.) |
|||||||||||||||