Member Menu
 
 Monthly JBoss newsletter:
 
Java Persistence with Hibernate
CaveatEmptor

I want to learn Hibernate for Java!

Day 1: Work with the tutorials

  • Reference documentation: Read the tutorial, work with the source code in the /doc/tutorial/ directory of the Hibernate package. This tutorial covers a simple Hibernate standalone and web application.
  • Java Persistence with Hibernate: Read the tutorial in the free sample chapter 2 of the book, download the Hello World code. This tutorial is a complete introduction to Hibernate, Java Persistence, and EJB 3.0.

Day 2: Read the Documentation

  • Read the rest of the reference documentation.

Day 3: Start Coding!

  • Many examples you find on the Net are still Hibernate 1.x or 2.x - read the migration guide for a list of differences to Hibernate3.
  • Once you are familiar with basic Hibernate, download the CaveatEmptor example application.

I want to learn Hibernate Annotations!

  • Download Hibernate Core and Hibernate Annotations.
  • Java Persistence with Hibernate: Read the tutorial in the free sample chapter 2 of the book, download the Hello World code. This tutorial is a complete introduction to Hibernate, Java Persistence, and EJB 3.0.
  • Once you are familiar with basic Hibernate, download the CaveatEmptor example application.
  • Alternatively, work through the EJB 3.0 trail, with the JBoss EJB 3.0 implementation in JBoss Application Server.

I want to learn Hibernate EntityManager!

  • Download Hibernate Core, Hibernate Annotations, and Hibernate EntityManager.
  • Java Persistence with Hibernate: Read the tutorial in the free sample chapter 2 of the book, download the Hello World code. This tutorial is a complete introduction to Hibernate, Java Persistence, and EJB 3.0.
  • Once you are familiar with basic Hibernate, download the CaveatEmptor example application.
  • Alternatively, work through the EJB 3.0 trail, with the JBoss EJB 3.0 implementation in JBoss Application Server.

I want to learn NHibernate!

Read NHibernate Quick Start Guide.


I want to learn how to use Hibernate with Seam!

First, familiarize yourself with basic Seam concepts by following the Seam Getting Started Guide. Now, if you decide to use Seam with plain Hibernate (instead of EJB 3.0), follow the example application in the examples/hibernate directory of the Seam distribution. Alternatively, read the last chapter ("Introducing JBoss Seam") of the book Java Persistence with Hibernate.

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