Objectives of the training
The objective of this training is to enable participants to master loading and caching strategies in Hibernate, implement class inheritance mapping, and optimize associations to ensure application performance, including in a clustered environment with JBoss TreeCache.Targeted audience
Engineers, architects, project managersPrerequisite
Good basic knowledge of Hibernate. Very good knowledge of the Java languageTrainers
Course architecture
Issues related to data loading
• Issues related to data loading, impedance mismatch, fetch strategies.
• Loading by select and subselect.
• Loading by join, by batch.
Using Hibernate caches
• Session cache
• Second-level cache
• Mapping cache
• Cache strategies
• Advantages and disadvantages of different implementations
• Query cache
Data sharing
• Transactions and access concurrency.
• Optimistic/pessimistic locking
• Clustering
• JBossTreecache
Optimizing associations
• Implementing bidirectional associations.
• Managing the inverse attribute
• Polymorphic associations.
Mapping class inheritance
• Types of inheritance.
• One table per class hierarchy.
• One table per subclass.
• One table per concrete class.
• Implicit polymorphism.
Performance monitoring
• Identifying and activating metrics.
• Accessing metrics (SessionFactory).
• Publishing metrics via JMX.
Related projects
• Hibernate Validator.
• Hibernate Search.
• Hibernate Shards.
Pedagogical details
Type of training
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quotePrivate or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote