-- Description
In this training you will gain a deep understanding of JPA and Hibernate through many practical examples and exercises. You will learn some advanced features and concepts for performance optimization. The basic use of Hibernate and JPA is easy and quick to learn. The problems always start when complex enterprise applications with high performance requirements are to be created. In such projects, people often complain about the poor performance of Hibernate. However, the reason for the long response times is often not Hibernate, but its inefficient use. Hibernate can easily be used for the realization of performance-critical enterprise applications. However, this requires some advanced features and a good understanding of JPA and Hibernate. These are taught in this course using many practical examples and exercises.
-- Agenda
Typical causes of performance problems
At the beginning of the course, typical causes of performance problems are presented and it is shown how these can be recognized at an early stage.
A common cause of many of these problems is inefficient modeling of the entities. To avoid this in the future, we compare various illustrations and show typical pitfalls. These include
-
the avoidance of typical mapping errors
-
Choosing the right strategy for primary key generation
-
selecting and using the optimal fetching strategy for the respective use case
-
the use of bytecode enhancements
Concepts for performance optimization
Building on this, we develop various concepts for optimizing the performance of read database accesses. These include
-
the optimization of queries
-
the use of a query-specific fetching strategy
-
the use of various caches to avoid redundant database accesses
Calling functions and stored procedures
In addition to reading the data, its preparation is often a reason for long response times. Databases can usually do this much more efficiently. I will explain various options for calling functions and stored procedures in the training.
Optimization options for write database operations
Next, we look at optimization options for write database operations, such as
-
the batching of write operations
-
the use of bulk operations to optimize write accesses
Concurrency strategies
Finally, various concurrency strategies and their impact on application performance are presented.
-- Audience
Software developers and architects
Practical experience with the use of JPA and Hibernate is required.
-- Training Objectives
You will learn to recognize persistence-related performance problems and their typical causes at an early stage.
Using practical examples, I will show you how these problems can be solved with the help of JPA and Hibernate-specific features to enable efficient and high-performance access to the database.
-- Your Trainers
Thorben Janssen
Thorben Janssen
JPA & Hibernate
- Hibernate Performance Tuning (Online)
Thorben Janssen is a consultant and trainer who helps teams build better persistence layers with JPA and Hibernate. He’s the author of the Amazon best-selling book “Hibernate Tips”, which offers More than 70 solutions to common Hibernate problems, and an international speaker with more than 20 years of experience in JPA and Hibernate. He also writes about various persistence topics on thorben-janssen.com and helps developers improve their skills in the Persistence Hub (persistence-hub.com).
-- Technical Information and Books
Hibernate Tips
More than 70 solutions to common Hibernate problems. More
Online Courses
On-site Courses
Dates by RequestEvent ticketing software by pretix
In-House Training
You can also book this training as an in-house training course exclusively for your team. Please use the enquiry form for more details.
Enquire now