AM-400: Hibernate QuickStart: Getting started with Hibernate

WorkShop Overview

Produced by the ArcMind team. After completing this course you will have the skills to design and build Hibernate-based applications. Onsite training available.

 

Length

2 day

Course Abstract:

Hibernate has become the de facto OR (object relational) mapping framework. More people use Hibernate than JDO and EJB CMP-CMR combined.

Hibernate was created by Gavin King, the famed author who wrote Hibernate in Action.

This course is focused around labs. All lessons prepare the students to work on the labs, which prepare students to work with Hibernate on real projects. Our lab books are extensive.

The lesson book and the lab book are in full color. Color syntax highlighting makes code listing easier to read.

This is one of our highest rated course.

Cost

We are offering this course at an introductory cost of $1,295.00 for an Early Bird Registration (regular registration $1,595.00).

(For groups of three or more, we offer onsite training during normal business hours up to 5 days. Customizations available upon request)

 

Public Course Schedule For Hibernate 3.1      

Workshop & Location

We are offering this course at an introductory cost of $1,295.00 for an Early Bird Registration (regular registration $1,595.00).

Hibernate 3.1/JPA Training:
March 27th-28th, 2008
Los Angeles, CA
Hibernate 3.1/JPA Training:
April 7th-8th, 2008
Boston, MA
Hibernate 3.1/JPA Training:
April 24th-25th, 2008
Los Angeles, CA

 

 


Outline

(For groups of three or more, we offer onsite training during normal business hours up to 5 days. Customizations available upon request)

DAY-1 DAY-2
  1. Introduction to Hibernate
    1. Hibernate Technology Benefits
    2. Hibernate Architecture Overview
    3. Persistence lifecycle
    4. Object identity
  2. Getting started with Hibernate quickly
    1. Mapping tables to beans using Annotations
    2. Mapping properties to columns
    3. Working with the Session object to persist objects
    4. Configuring the SessionFactory
    5. Working with DataSource, connection pools, JTA and CMT
    6. Database dialects
    7. Identity generation (sequence, identity keys)
    8. Lab : Reading, updating and writing persistent objects
  3. Relationships
    1. Setting up all types of relationships
    2. Setting up a one to many relationship
    3. Understanding bidirectional relationships
    4. Lab 2: Setting up one to many relationship (Group to User)
    5. Creating a simple application user authentication
    6. Setting up a many to many relationship
    7. Understanding unidirectional relationships
    8. Lab 3: Setting up many to many relationship (User has roles)
    9. Setting up a one to one relationship
    10. Lab 4: Setting up one to one relationship (User has ContactInfo)
    11. Setting up an simple inheritance relationship
    12. Lab 5: Setting up an inheritance relationship (Employee is a user)
  4. Basic queries
    1. Working with queries
    2. Named queries
    3. Lab 5: Using queries and named queries
  1. Using Hibernate Transaction support
    1. Local transactions, global transaction
    2. Hibernate transaction API
    3. Isolation levels
    4. Lab 6: Using Hibernate Transaction API
    5. Optimistic and Pessimistic locking (versioning)
    6. Lab 7: Implementing optimistic locking with versioning
  2. More mapping concepts
    1. Hibernate type system
    2. Mapping collections of value types
    3. Three ways to map inheritance
    4. Lab 8: Reimplementing Roles as a typed collection (User has Roles)
    5. Lab 9: Reimplementing Employee as a separate table (Employee is a User)
    6. Working with compound keys
    7. Lab 9: Working with compound keys

 

Hardware/Software Requirements

This course is a bring-your-own-laptop. You need a 1GHZ or faster laptop with 500MB of memory with Java Sun SDK 1.5.x (Java 5) already installed. Laptops are available for rent (additional fee).