Kurs: Hibernate with Spring
Redpill Linpro ASIn this 3-day course you will learn how to create effective data-driven Spring applications with Hibernate. With the focus on the data tier, you will learn to configure Hibernate in the context of a Spring application, how to create efficient object/relational mappings with Hibernate and how to leverage the Spring Framework to facilitate Hibernate session, transaction and exception management. The course shows the use of both XML and annotation based configuration of both Spring and Hibernate.
Format
The Hibernate course places a heavy emphasis on gaining practical skills for using Hibernate in your Spring-based applications. This course consists of approximately 50% lecture and 50% lab exercises.
Course Outline
Day 1: Spring Framework Foundations
- Introduction to Spring
- Using Spring to configure an application
- Simplifying application configuration
- Annotation-based dependency injection
- Simplifying JDBC-based data access with Spring
- Driving database transactions in a Spring environment
Day 2: Using the Hibernate ORM
- Introducing object-to-relational mapping (ORM)
- Getting started with Hibernate in a Spring environment
- Using JPA annotations and Hibernate XML
- Inheritance: considerations and trade-offs
- Defining custom user-types for Value Objects
- Using queries: HQL, criteria API, native (SQL)
- Hibernate in web applications: open session in view
- Using the different Java collection mappings
- Using joins and components to go beyond naïve class to table mappings
Day 3: Hibernate Internals and Configuration
- Working with Hibernate objects
- Lazy loading and detached objects
- Optimistic and pessimistic locking
- Mixing Hibernate and JDBC
- Performance tuning
- Advanced Features: interceptors, schema generation, caching, batching
Forkunnskaper
To benefit fully from this Hibernate training, course delegates should be able to:
- Create basic Java web applications
- Basic understanding of JDBC and relational database concepts
Målgruppe
Developers interested in using Hibernate with Spring
Hibernate with Spring
100% sikkert skjema
Tar ett minutt å fullføre
Hurtig respons
Åpen deltakerdiskusjon om kurset eller emnet
Del gjerne din erfaring eller tanker om dette kurset eller temaet med andre!
