SpringSource Training - Hibernate with Spring

Location - Chariot - Philadelphia

Date(s) - Tue Jun 19 - Thu Jun 21

Course Description

In this 3-day course you will learn how to create effective data-driven Spring applications with Hibernate. With the focus on the data tier, you will learn to configure Hibernate in the context of a Spring application, how to create efficient object/relational mappings with Hibernate and how to leverage the Spring Framework to facilitate Hibernate session, transaction and exception management. The course shows the use of both XML and annotation based configuration of both Spring and Hibernate.

This course focuses on explaining features of using Hibernate with Spring and goes on to discuss fundamental architectural issues. It’s important to know how to use certain parts of a framework, but it is even more important to be able to decide when to use them.


Pre-requisites

  • Basic understanding of JDBC and Relational Database Concepts
  • Existing experience creating Java Web-based applications (helpful)
  • Knowledge of Spring helpful – A basic introduction to Spring and Spring-based data access will take place on Day 1

Course Outline

Day 1 – Spring Framework Foundations

  • Introduction to Spring
  • Using Spring to configure an application
  • Simplifying application configuration
  • Annotation-based dependency injection
  • Simplifying JDBC-based data access with Spring
  • Driving database transactions in a Spring environment

Day 2 – Using the Hibernate ORM

  • Introducing object-to-relational mapping (ORM)
  • Getting started with Hibernate in a Spring environment
  • Using JPA annotations and Hibernate XML
  • Inheritance – considerations and trade-offs
  • Defining custom user-types for Value Objects
  • Using queries – HQL, criteria API, native (SQL)
  • Hibernate in web applications – open session in view
  • Using the different Java collection mappings
  • Using joins and components to go beyond naive class to table mappings

Day 3 – Hibernate Internals and Configuration

  • Working with Hibernate objects
  • Lazy loading and detached objects
  • Optimistic and pessimistic locking
  • Mixing Hibernate and JDBC
  • Performance tuning
  • Advanced Features – interceptors, schema generation, caching, batching

Course Details

List Price: $2,000.00
Number of Days: 3

All Course Dates

Total # of events: 2
Tue Jun 19 - 3 days
Tue Sep 25 - 3 days