Learning Patterns Your Source for Quality Technology Courseware

Introduction to Spring 4 and Hibernate 4

NOTE: This course is ONLY for those using Hibernate’s proprietary XML mapping files. Those using JPA annotations (e.g. @Entity) should take the Introduction to Spring and JPA course.

This course provides comprehensive introductions to the Spring and Hibernate open source frameworks. Suitable for Spring4/Hibernate4, it includes coverage of all the core Spring and Hibernate capabilities, as well as the integration capabilities provided by Spring.

The course includes an extensive set of hands-on labs that reinforce all the important concepts and capabilities. It will enable you to build working Spring/Hibernate applications, and give you an understanding of the important concepts and technology in a very short time.

Spring: As well as being current with recent Spring releases, this course introduces techniques for using the many new and powerful capabilities that Spring supports. It includes complete coverage of the three main configuration styles (@Configuration, @Component, XML), and guidelines for their usage. It also covers more advanced capabilities such as support for JDBC and persistence frameworks like Hibernate, Spring declarative transactions, and Spring integration with Java EE Web technologies.

Hibernate: The course covers all important capabilities of this open source object/relational persistence and query service for Java. Coverage includes developing persistent classes in Java, as well as using associations/relationships, inheritance, polymorphism, composition and collections. It also provides an overview of JPA (the Java Persistence API).

Course Objectives:

  • Understand the core principles of Spring, and of Dependency Injection (DI)/Inversion of Control
  • Use the Spring Core module and DI to configure and wire application objects (beans) together
  • Know the different types of metadata (XML, @Component, and @Configuration), and how and when to use them
  • Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API
  • Work with the ORM (Object-Relational Mapping) module to integrate Spring with technologies such as Hibernate or JPA.
  • Understand and use Spring’s transaction support, including the easy-to-use Java annotation support, as well as the tx/aop XML configuration elements
  • Integrate Spring with Java EE Web applications
  • Understand the benefits of Hibernate
  • Understand the Hibernate architecture
  • Create Hibernate based applications
  • Understand and use Hibernate mapping to map persistent objects to the database
  • Understand and work with collections & associations
    • Value and Entity Types
    • Bidrectional and unidirectional
    • 1-1, 1-N, N-N
  • Use Hibernate’s versioning support
  • Map inheritance hierarchies using Hibernate
  • Work with Hibernate queries, HQL, and Criteria
  • Understand Hibernate transaction support
  • Understand the relationship between Hibernate and the Java Persistence API (JPA), and use JPA annotations for OR mapping

Course Outline: