Webucator's XSLT and FO classes far exceeded my expectations. Even though the classes were done on t... More Testimonials »

Introduction to Spring Training

Delivery Options

Class Date and Time Price Pricing Information
Sep 22 - 24, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers
Oct 20 - 22, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers
Nov 17 - 19, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers

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
Locations

Recent Blog Articles

JSF 2.0: Developing Views Without JSP

Posted on Sep 02, 2010 by rsakowski

JSP and JSF have been tenuous partners. The problems have been discussed for years. Several key issues have been ...


Java ME (J2ME) to iPhone, Android, Flash and Windows Mobile Cross Compiler

Posted on Aug 31, 2010 by rsakowski

Innaworks’ alcheMo is a platform for developing mobile and web applications. It automates the porting of Java ME ...


JavaServerPages as Servlets

Posted on Aug 11, 2010 by rsakowski

A common misconception about JavaServer Pages is that they are executed by the web container. Actually they only supply the web ...


Java SE 6: Top Ten Features

Posted on Jul 23, 2010 by rsakowski

I remember when Sun released JDK 1.08. It was dubbed the “classic” version. After a few years of feedback from developers, Sun made some meaningful ...


Java Database Connectivity (JDBC) Basics using MySQL

Posted on Jul 05, 2010 by rsakowski

I was asked to go into Java's database API (the JDBC) using the open source database, MySQL. The JDBC is included ...

Learn the benefits of online training with Webucator

Watch a 3-minute video about Webucator's instructor-led online training.

Learn about Webucator's online training from the CEO

In depth video from our CEO on Webucator's instructor-led online training.

© 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