Member Menu
 
 Monthly JBoss newsletter:
 
Hibernate Books
CaveatEmptor
«   Performance

Hibernate Feature List

Extension Points   »

Enterprise (JEE) integration

[Hibernate EntityManager] EJB 3.0 support

Hibernate provides a preview implementation of the EJB 3.0 persistence provider APIs, and may be used as the persistence provider for any EJB 3.0 container that implements the JSR-220 public draft

Automatic persistence context (session) management

in a JTA environment, the lifecycle of the Hibernate Session can be managed automatically

JMX support

Hibernate may be configured and managed via JMX

Integration with J2EE architecture

Hibernate works will either inside or outside the context of J2EE

  • SessionFactory may be listed in JNDI
  • Session is serializable so may be kept by a stateful session bean or in a servlet HttpSession with loadbalancing/failover
  • Application server datasource may be used to provide JDBC connections
  • Transactions integrate with application server transactions via JTA
  • Automatic binding of Hibernate's Session to the global JTA transaction scope

JBoss integration

  • JBoss ships with a Hibernate deployer and support for .har Hibernate archives
  • Hibernate EntityManager is core technology for the JBoss EJB 3.0 container
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]