On-site & Public, Instructor-led, Hands-on IT Training
(International 01) 908.233.8900
  400+ Course Offerings:

Search for Course:

HI1010 Integrating Hibernate and Spring
Duration5 Days
Delivery MethodInstructor Led, Hands-on Workshops
Public Price$2950.00

DESCRIPTION (Return to Top)

Integrating Hibernate and Spring is a five day in-depth course geared for experienced Java developers who need to understand what Hibernate is in terms of today’s systems and architectures, and how to apply Hibernate to persistence requirements in Java and J2EE applications. The course then covers to the Spring framework and how to integrate Hibernate as the persistence layer for Spring applications.

Hibernate is a powerful enabler that addresses object/relational persistence in the Java world. Hibernate offers all the advantages of developing in Java plus a comprehensive suite of capabilities for mapping object-oriented features to the relational model. This course tells you what you need to know to design and build your own Hibernate- enabled applications. You’ll learn the details of the key Hibernate capabilities and how to leverage their strengths, with a special focus on using Hibernate with the Spring framework.

The Spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion. Spring’s flexibility and transparency is congruent and supportive of incremental development and testing. The framework’s structure supports the layering of functionality such as persistence, transactions, view-oriented frameworks, and enterprise systems and capabilities.

Spring’s Aspect-Oriented Programming (AOP) framework enables developers to declaratively apply common features and capabilities across data types in a transparent fashion. Spring makes J2EE development easier. Spring simplifies commons tasks and encourages good design based on programming to interfaces. Spring makes your application easier to configure and reduces the need for many J2EE design patterns. Spring puts the OO design back into your J2EE application, and it integrates nicely with JSF.

If you want to deliver an application using Hibernate within the Spring framework, you’ll find this course essential.

AUDIENCE (Return to Top)

This an intermediate level Hibernate and Spring training course, designed for developers that need to understand how and when to use Hibernate in Spring applications.

OBJECTIVES (Return to Top)

This course provides coverage of Hibernate concepts and practices for interacting between Java and relational databases. The goal of this course is to empower developers with the knowledge they need to design and implement Spring applications that effectively and transparently use Hibernate to manage data persistence. The areas addressed in this course range from data/class mapping and persisted object lifecycle and management to how Hibernate can be used in the Spring framework.

At the conclusion of this course, attendees will be able to:

  • Explain how the issues associated with object persistence in a relational model are addressed by Hibernate
  • Understand the relationships between SQL, Java, Spring, and Hibernate
  • Discuss the challenges to adopting Hibernate in the enterprise
  • Write applications that take advantage of the Hibernate Persistence Manager
  • Map Java classes to relational tables
  • Capture both relational and inheritance associations in metadata using either XML or the Java 5 Annotations mechanism
  • Create and use mappings between Java classes and relational databases
  • Understand how identity and keys are handled in Hibernate
  • Understand the persistent object lifecycle and how that relates to transactions and concurrency
  • Take advantage of Hibernate’s data filtering and interception
  • Explain the issues associated with complex frameworks such as J2EE and how Spring addresses those issues
  • Write applications that take advantage of the Spring container and the declarative nature of assembling simple components into applications
  • Work with Spring’s support for transactions
  • Understand how to use Hibernate within the Spring framework

TOPICS (Return to Top)
  • Hibernate Overview
  • Hibernate QuickStart
  • Types in Hibernate
  • Associations in Hibernate
  • Working with Persisted Objects
  • Hibernate Query Functionality
  • Introduction to the Spring Framework
  • Spring and Persistence
  • Spring and Transactions
  • Spring and Extensibility
  • Appendix: Basic ORM
  • Appendix: Hibernate Annotations


Attendees should have Java development experience or have taken an introductory-level Java course.