Courses
 
 
Developing Java Relational Persistence Applications using HIBERNATE
 
Duration:   3 days Level:  Intermediate Format:   50% hands-on
 
Description:
Java is an object-oriented programming language. It builds platform-independent applications. Hibernate is considered as most advanced object/relational mapping solution for Java environments. In addition to mapping from Java classes to database tables, Hibernate provides data query and retrieval facilities to reduce common data persistence related programming tasks. Hibernate is typically used in Java Swing applications, Java Servlet-based applications, or J2EE applications using EJB session beans.

This course starts with the overview of object/relational persistence and introduction of Hibernate. It explains how to implement persistent layer in applications using Hibernate, deploy and run it on application server.
 
After completing this course, you will acquire the knowledge and skill to:
  • Understand various O/R mappings technologies like Hibernate
  • Understand the Hibernate framework architecture
  • Write Hibernate configuration file
  • Write Hibernate mapping files
  • Define persistence classes
  • Write quires with Hibernate Query Language (HQL)
  • Learn to build applications using Hibernate and deploy it to application server
 
Topics:
1 Object/relational Persistence and Introduction to Hibernate
2 Hibernate configuration and sample application
3 Understand basic O/R mappings
4 Understand Collection mappings
5 Understand Association mappings
6 Component and Inheritance mappings
7 Working with Hibernate objects and Hibernate Query Language (HQL)
8 Batch Processing and filtering data
 
Contents:
1 Object/relational Persistence and Introduction to Hibernate
 
  • What is persistence?
  • Persistence in object oriented applications like Java
  • Persistence layers and alternatives
  • Object/relational mapping
  • Introduction to Hibernate
  • Hibernate Architecture
  • Development processes
  • Installing and configuring Hibernate
   
2 Hibernate configuration and application
 
  • Hibernate architecture
  • Basic configuration
  • Using XML-based configuration
  • Logging
  • Simple Hibernate application
   
3 Understand basic O/R mapping
 
  • Mapping declarations and understand various mapping elements
  • Understand hibernate types
   
4 Understand Collection mappings
 
  • Persistent collections
  • Collection mappings
  • Advanced collection mappings
   
5 Understand association mappings
 
  • Unidirectional associations
  • Unidirectional associations with join tables
  • Bidirectional associations
  • Bidirectional associations with join table
   
6 Component and inheritance mapping
 
  • Dependent objects
  • Collections of dependent objects
  • Components as composite identifiers
  • Dynamic components
  • Inheritance mapping strategies
   
7 Working with Hibernate objects and Hibernate Query Language (HQL)
 
  • Manage Hibernate objects
  • Working with HQL
   
8 Advanced Hibernate
 
  • Batch processing in database using Hibernate
  • Understand Hibernate filters
  • Understand Interceptors and Events in Hibernate
   
Hands-on Labs:
1 Install softwares for the lab
2 Running a Hibernate Web Application
3 Understand Hibernate O/R mappings
4 Understand Hibernate Collection mappings
5 Component and Inheritance mappings in Hibernate application
6 Hibernate Objects and Query Language
7 Advanced Hibernate
   
Prerequisites:
Concepts of RDBMS system and SQL language. Have basic knowledge of Java language, Servlet & JSP/JSF.
   
Audience:
Architects, designers, analysts, and developers.