Using Hibernate in Java Applications
Book Now - 1 Delivery Method Available:Scheduled Online Onsite
Java has many options for persisting state to backend relational databases. Hibernate is a popular open source Object Relational Mapper (ORM) that allows you to easily create the mappings between your application and the data layer.
In this course you will learn how to use the framework effectively, and how to design high performing data driven applications.
The practical sessions, which form more than half the course, build on the information given in the lectures. This will help delegates to reinforce their learning of Hibernate development techniques and design options in Java.
After completing this course, you will be able to:
- Use the Hibernate Framework to access data
- Understand when to use an ORM layer
- Map complex object models to databases
- Manage transactions using Hibernate
- Use caching to improve database performance
- Query objects using the Hibernate Query Language
- Use Hibernate with the Spring Framework.
Who should attend:
Experienced Java developers who are going to use Hibernate to access databases. This course is not suitable for developers with little or no Java programming experience.
We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.
The Hibernate Framework (3 topics)
- Why have ORM's?
- Hibernate principles
Persistent Objects (3 topics)
- Persisting objects
- Transient objects
- Flushing The role of the cache
Mapping (4 topics)
- How to map objects
- Single value objects
- Multi value objects
- Using annotations to map
Hibernate Query Language (4 topics)
- Why another query language?
- Deciding on the caching strategy
Concurrency (6 topics)
- Concurrency options
- Pessimistic locking
- Optimistic locking
- Configuring Transaction support
- Session and Transaction Scope
Performance techniques (3 topics)
- Lazy Loading
- The second level cache
- Optimizing collection performance
Integrating with Spring (1 topic)
- Using The Spring Hibernate template
Design Patterns (2 topics)
- Patterns of use
- Best Practice
Delegates should have a good grounding in the Java language and its fundamental constructs, such as threads and exceptions. This could be a result of at least 6 months hands-on Java development or possibly less if preceded by appropriate training, such as one of our Java programming courses. An awareness of other development frameworks, in particular Spring, would be beneficial.