The JavaScript introductory class was very good, mostly due to the very enthusiastic and knowledgeab... More Testimonials »

Introduction to Spring Training

Delivery Options

Class Date and Time Price Pricing Information Register
Feb 15 - 17, 2010 7:30 AM - 5:00 PM ET $1,425.00 or 3 vouchers Register
Mar 15 - 17, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers Register
Apr 12 - 14, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers Register

Class Description

Class Overview

This course enables the experienced Java developer to use the Spring application framework to manage objects in a lightweight "IoC" (inversion-of-control) container. Spring is a far-reaching framework that aims to facilitate all sorts of Java development, including every level of multi-tier distributed systems. Here we focus on the "Core" module of the framework, developing facility in instantiating, configuring, and assembling Spring beans for various purposes.

The Core module gives the developer declarative control over object creation and assembly; this is useful for any tier of any Java application. So is Spring's validation framework, and so we study not only the assembly of object graphs, but also how to apply validation logic to those objects and to report errors to the user or to another software component.

Class Goals

  • Understand the scope, purpose, and architecture of Spring
  • Use Spring's bean factories and application contexts to declare application components, rather than hard-coding their states and lifecycles
  • Use dependency injection to further control object relationships from outside the Java code base
  • Use annotations to take advantage of Spring post-processors for automated bean instantiation and wiring
  • Create validators for business objects, and associate them for application-level and unit-testing uses

Class Outline

  1. Overview of Spring
    1. Java EE: The Good, The Bad, and the Ugly
    2. Enter the Framework
    3. Spring Value Proposition
    4. The Spring Container
    5. Web Applications
    6. Persistence Support
    7. Aspect-Oriented Programming
    8. The Java EE Module(s)
    9. Integrating Other Frameworks
  2. The Container
    1. JavaBeans, Reconsidered
    2. The Factory Pattern
    3. Inversion of Control
    4. XML View: Declaring Beans
    5. Java View: Using Beans
    6. Singletons and Prototypes
  3. Instantiation and Configuration
    1. Configuring Through Properties
    2. Configuration Namespaces
    3. The p: Notation
    4. Bean (Configuration) Inheritance
    5. Configuring Through Constructors
    6. Bean Post-Processors
    7. Lifecycle Hooks
    8. Integrating Existing Factory Code
  4. Dependency Injection
    1. Complex Systems
    2. Assembling Object Graphs
    3. Dependency Injection
    4. Single and Multiple Relationships
    5. The Utility Schema
    6. Bean Aliases
    7. Inner Beans
    8. Autowiring
    9. Auto-Detecting Beans
    10. @Autowired Properties
    11. Best Practices with Spring 2.5 Annotations
  5. Assembling Object Models
    1. Collections and Maps
    2. Support for Generics
    3. The Spring Utility Schema (util:)
    4. Autowiring to Multiple Beans
    5. Order of Instantiation
    6. Bean Factory vs. Application Context
  6. Validation
    1. Validators
    2. The Errors Object
    3. ValidationUtils
    4. Error Messages and Localization
    5. Nested Property Paths

Class Materials

All students receive a course manual or book and all the class examples.

Students in private onsite classes will also receive:

Class Prerequisites

Experience in the following areas is required:

  • Java programming
  • Basic knowledge of XML

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.


  • Java ®, all Java-based marks, Hibernate ®, and all Hibernate-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries.
Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Training Classes
Locations
Live eLearning

Like a class you would go to, but you don't have to go anywhere. More...

Customized Onsite Training

The trainer comes to you and delivers a class customized for your team. More...

Self-Paced eLearning

Our least expensive option. You proceed through the course entirely at your own pace. More...

Reference Library
Partner Programs
© Webucator, Inc. All rights reserved. | Toll Free: 877-932-8228 | UK: 0808-101-3484 | From outside the USA: 315-849-2724| Fax: 315-849-2723