JBoss Hibernate Technology

Request info

Who should attend

  • Java developers with up to 6 months of experience or understanding of ORM
  • Java developers demonstrating proficiency with SQL-based database systems
  • Business component and database developers
  • Database administrators who need to understand how ORM may affect performance and how to tune the performance of the SQL database management system and persistence layer

Prerequisites

  • Experience with Java Platform, Enterprise Edition (Java EE) or Java 2 Platform, Enterprise Edition (J2EE)
  • A high-level understanding of enterprise software systems development
  • An understanding of legacy systems integration

Course Objectives

JBoss Hibernate offers high-performing object/relational persistence and query services. The JBoss Hibernate Technology (JB297) three-day course gives Java developers the knowledge and skills required to leverage the powerful Java Hibernate Application Stack. This course strongly emphasizes and makes extensive use of Hibernate Core, Hibernate EntityManager, Hibernate Annotations, and Hibernate best practices.Through clear interactive lectures and hands-on labs, students are introduced to Hibernate Framework APIs, design and development essentials, along with its practical applications and best practices strategies. Hibernate helps students produce and maintain well-designed, robust business applications while optimizing performance and reducing software maintenance costs. This course will also demonstrate Hibernate testing and runtime techniques and enhancements which are well-suited for next-generation, standards-based Java applications.

Detailed Course Outline

1. State of the Union

1. Introductions
2. Explanation of .org vs. .com
3. Brief overview of products

2. Understanding Basic Object-Relational Mapping

1. Understanding Persistence
2. Paradigm Mismatch
3. Hibernate 3 Frameworks
4. Hibernate 3 vs. EJB 3.0 Framework

3. The Essential Hibernate Application Illustrated

1. A Basic Hibernate Application and Components
2. Understanding the Hibernate Code
3. Explaining How the Code Fits Together
4. Introducing Hibernate Tools and Tasks

4. Introduction to Hibernate ORM

1. Hibernate Project Overview
1. Object Domain Analysis
2. Domain Model Classes
3. Persistent Classes Mappings
2. Hibernate Entities
3. Hibernate Value Objects

5. Persistent Classes in Hibernate.

1. More Persistent Class Mapping Details
2. Review of Database Identity Issues
3. Creating Mapping Metadata with Annotations
4. Identifying Entities and Value Objects
5. Mapping Entities with Identity
6. Simple Property Mapping Strategies

6. O/R Mapping Details & Inheritance & Associations

1. Understanding Inheritance
2. Hibernate Inheritance
1. Hibernate Inheritance with Entities
2. Hibernate Inheritance Strategies
3. Hibernate Associations – Polymorphism
4. Entity Relationships – Polymorphism
5. Advanced Association Mapping Details

7. Transactions, Concurrency & Objects

1. Persistence Lifecycle
2. Enabling Transitive Persistence
3. Cascading Operations
4. Enabling Cascading Persistence
5. Enabling Cascading Deletions
1. Understanding Orphan Deletion
6. Cascading Persistent State
7. Object State and Persistence
8. Understanding, and Using Object Identity and Equality
9. Understanding Transactions
1. Understanding Hibernate Transactions

8. Understanding Hibernate Queries

1. Efficient Object Retrieval in Hibernate
2. Hibernate Query APIs and Options
1. Hibernate Query Language (HQL)
2. Hibernate Query By Criteria (QBC) API
3. Hibernate Query By Example (QBE) API
3. Hibernate Fetching
4. Collection Filters
5. Dynamic Data Filters

9. Best Practices & Improving Performance

1. Hibernate Application Design
1. Design Layers
2. Use Cases
2. Design Patterns
1. OSIV
2. Hibernate I
nterceptors
3. Data Access Object
4. Data Transfer Objects
3. Hibernate Conversations
4. Audit Logging in Hibernate
5. Hibernate Event Mechanisms

10. Hibernate Application Configuration and Deployment

1. Hibernate Configuration Strategy
1. Standalone Hibernate Applications
2. In-Container Hibernate with JBoss 5
2. Deployment Practices
3. Hibernate Application Tuning and Performance
4. High-Availability
5. Hibernate Caching
1. Hibernate Session
2. Hibernate Second-Level Cache
6. Hibernate Application Monitoring and Management
1. Hibernate Configuration
2. Hibernate Statistics API

11. Hibernate Testing and Additional Frameworks

1. Hibernate Framework within a Frameworks
2. Introducing TestNG Frameworks
3. Testing the Persistence Layer
4. Introducing DBUnit
5. Writing a Hibernate Test Class
6. Asserting Database Tables
7. Executing Integration Test Cases

12. APPENDIX

1. Hibernate Advanced Frameworks
2. Hibernate Search Appliance
3. Hibernate Validation Framework
4. Hibernate Shards Framework

Duration: 3 Days

Cost: £1695 + VAT

SELECT wp_posts.*, wp_p2p.* FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_p2p WHERE 1=1 AND ( ( wp_postmeta.meta_key = 'start_date' AND CAST(wp_postmeta.meta_value AS DATE) >= '2024-06-14' ) ) AND ((wp_posts.post_type = 'schedule' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled'))) AND (wp_p2p.p2p_type = 'schedule_to_courses' AND wp_posts.ID = wp_p2p.p2p_from AND wp_p2p.p2p_to IN (SELECT wp_posts.ID FROM wp_posts WHERE 1=1 AND wp_posts.ID IN (2259) AND ((wp_posts.post_type = 'courses' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled'))) ORDER BY wp_posts.post_date DESC )) GROUP BY wp_posts.ID ORDER BY CAST(wp_postmeta.meta_value AS DATE) ASC