Learning Patterns Your Source for Quality Technology Courseware

Introduction to the Spring 4 Core

Over the years, Spring has added many new capabilities, in line with the increasing capabilities of the Java platform. As well as being current with Spring 4, this course introduces techniques for using these powerful capabilities. It includes complete coverage of the three main configuration styles: Java-based (@Configuration), annotation-based (@Component), and the traditional XML-based configuration that may still play an important role in existing and new projects. It also provides guidelines for when and how to use each one.

The course starts with in-depth coverage on using the powerful capabilities of Spring’s Core module to reduce coupling and increase the flexibility, ease of maintenance, and testing of your applications. It goes on to cover many of the most important capabilities of Spring, including integrating persistence layers (e.g. Hibernate/JPA) with Spring, using Spring’s powerful Aspect Oriented Programming (AOP) to program cross-cutting concerns in a safe and maintainable way, and using Spring’s declarative transaction capabilities. It also covers integration of Spring with Java EE Web applications.

This course is hands on with labs to reinforce all the important concepts. It will enable you to build working Spring applications and give you an understanding of the important concepts and technology in a very short time.

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, annotations/@Component, and Java Configuration/@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 powerful AOP capabilities for programming cross-cutting concerns across multiple points in an application
  • Learn safe and maintainable techniques for programming with AOP
  • 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

Course Outline: