Hibernate Essentials is targeted toward Java developers who must become competent with the Hibernate or the Java Persistence API object/relational persistence and query service implementation. The primary audience is intended to be Java developers who work with SQL-based database systems or database developers who are looking for an introduction to object-oriented software development. Database administrators who are interested in how ORM may affect performance and how to tune the performance of the SQL database management system and persistence layer will also find this course of value. This course covers the JBoss, Inc. implementation of the JSR-220 sub-specification for Java Persistence and it covers the foundational APIs of version 3.x of the JBoss, Inc. Hibernate product, or simply, Hibernate 3.
Who Can Benefit
The Hibernate Essentials course is recommended for Java developers who must become competent with a Hibernate or a Java Persistence API object/relational persistence and query service implementation. Both implementations provide powerful APIs to develop persistent classes following the object-oriented idiom. Both implementations support the use of association, inheritance, polymorphism, composition and collections with persistent classes. To fully utilize persistent class implementations, the student will also learn how to create and execute queries using EJB-QL, the portable Hibernate SQL extension (HQL), native SQL and the object-oriented Criteria and Example API
Prerequisites
The prerequisite skills for this class are the following:
An understanding of the relational persistence model
Competency with the Java language
Knowledge of OOAD concepts
Familiarity with the UML
Experience with a dialect of SQL
Using the JDK and creating the necessary environment for compilation and execution of a Java executable from the command line
Track:
Part of The JBoss Enterprise Application Platform curriculum, which includes:
JB161 JBoss and EJB3 for Java Developers
JB167 Hibernate Essentials
JB170 JBoss SEAM Essentials
JB261 JBoss for Advanced J2EE Developers
JB336 JBoss for Administrators
JB336c JBoss Administration (without JBoss ON)
Prepares for:
JB161 JBoss and EJB3 for Java Developers
JB167 Hibernate Essentials
JB170 JBoss SEAM Essentials
JB261 JBoss for Advanced J2EE Developers
JB336 JBoss for Administrators
JB336c JBoss Administration (without JBoss ON)
Code:
JB167
Length:
3 days
Type:
Instructor-Led
Certified By:
Red Hat
Tuition:
$2,498
This course is taught by Certified Red Hat instructors. There is a difference. Learn More
This course is in the following categories. Click the categories to find similar courses and topics of interest.
In this module persistent data management in the context of object-oriented applications is defined. The relationship of SQL, JDBC and Java, specifically the underlying technologies and standards that Hibernate is built upon, are discussed. The software development challenges that embody the "object/relational paradigm mismatch" are individually identified. Additional generic problems that are encountered when creating object-oriented software clients to relational databases are also discussed. This module concludes with presenting the basic concepts of object/relational mapping and the capabilities provided by Hibernate.
Getting started with Hibernate
This module provides the student with the information necessary to complete a simple Hibernate project. The student will be exposed to the Hibernate core programming interfaces and will then be shown how to integrate a Hibernate application with "non- managed" and "managed" environments.
Mapping Persistent Classes
This module explains how to map the Plain Ordinary (Old) Java Objects of a rich domain model to Hibernate metadata. Mapping class inheritance hierarchies and fine-grained models will also be discussed. The module will conclude with an introduction to class association mappings.
Working with Persistent Objects
In this module, the student will learn about The lifecycle, or the various "states" of persistent objects in a Hibernate application. The student will begin working with the Session persistence manager and understanding transitive persistence.
Transactions and Concurrency
In this module, the student will learn how long-running application transactions can be associated with the Hibernate notion of a "unit of work". Database transactions and locking will be discussed in the context of a long-running application transaction.
Advanced Mapping Concepts
The Hibernate type system and how it can be extended to create custom mapping types is one of the topics explained in this module. The student is provided an introductory overview of advanced mapping concepts such as collection mapping and how to map one-to-one and many-to-many associations.
Retrieving Objects
In this module, the student is introduced to the basic concepts, concerns and means of retrieving object state from persistent store with Hibernate. This section introduces the student to fetching strategies and how to discern and solve the "n+1" Selects problem.
Queries
HQL, criteria, and native SQL queries are covered in detail. Once these foundational APIs are presented, the student is shown advanced reporting techniques, the use of dynamic queries and how to optimize runtime fetching.
Caching
In this module, an explanation for the use of cache is provided. The student will learn about use of Hibernate first- and second-level cache and will be shown how the caching system is used in practice through examples from the CaveatEmptor application.
Application Design and Architecture
In this module, the student is introduced to some foundational best practices for writing layered applications with Hibernate. This section will address the use of Servlets and integration with Hibernate and EJBs in managed environments. Creating implementations using application transactions, handling legacy data and using audit logging are practices which are also addressed.
When you take a certified course with ExitCertified, you are learning from
the creators of the products you use. Our commitment to your IT
community, along with our authorization to deliver certified courses,
ensures you receive a premium training experience.