Using Hibernate in Java Applications
Prerequisites:
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.
Course Description:
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…
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
Prerequisites:
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.
Course Description:
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.
Course Objectives
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.
This course includes the following modules:
The Hibernate Framework
- Why have ORM's?
- Hibernate principles
- Configuration
Persistent Objects
- Persisting objects
- Transient objects
- Flushing The role of the cache
Mapping
- How to map objects
- Single value objects
- Multi value objects
- Using annotations to map
Hibernate Query Language
- Why another query language?
- Syntax
- Caching
- Deciding on the caching strategy
Concurrency
- Concurrency options
- Pessimistic locking
- Optimistic locking
- Transactions
- Configuring Transaction support
- Session and Transaction Scope
Performance techniques
- Lazy Loading
- The second level cache
- Optimizing collection performance
Integrating with Spring
- Using The Spring Hibernate template
Design Patterns
- Patterns of use
- Best Practice
For online live training advice please visit our Learning Advice Centre on our website. Be sure to follow us on Twitter to receive special course offers, news and updates!
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
