1-877-WEBUCATE
(1-877-932-8228)
info@webucator.com
 
Microsoft Training
Java Training
XML Training
Database & SQL Training
PHP, Perl, ASP, Groovy, Grails, Ruby on Rails Training
HTML, JavaScript, Ajax & CSS Training
Adobe CS3 Training
◊ PUBLIC J2EE TRAINING

How about taking a class directly from your home or office with a live instructor?
When you register for one of our instructor-led online J2EE classes, we send you a computer headset, the courseware for class, and some other goodies. At the time of class, you simply put your headset on and log in to our web conferencing software. You can hear everything the instructor says, see the complete presentation, and ask questions at any time. Classes are small, generally 2-6 students, full of hands-on exercises, and are never cancelled due to low enrollment.

To have someone contact you about our instructor-led online classes, please fill out the form below. We will also email you a class schedule and pricing.

* (Required)
* (Required)
* (Required)
* (Required)
* (Required)
(The number of people requiring training)
* (Required)
(For Federal Government Pricing)

Spring Application Framework Training (5 days)


Classes for individuals are delivered via the Web by a Webucator instructor over a live web conference. For more information on how these classes are delivered click here or call us toll free at 877-932-8228.

Click here for our private onsite J2EE classes

This class is not currently scheduled.
You may request that it be added to the schedule by clicking on the "Please Schedule" button below.

The Spring Framework 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; to create simple and complex Web applications; and to manage persistent objects using Spring's support for DAOs and transaction control. 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 and MVC modules, with a lighter (but by no means dismissive) touch on persistence through DAO and ORM modules.

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 these things in a mix of standalone (J2SE) applications and Web applications deployed to the Tomcat server/container. Then students build Web applications that use the Spring MVC framework to rationalize their designs into coherent request/response cycles. They use Spring command objects to manage HTML forms and their data, and connect these to the validation framework. We connect our applications to persistent stores and study the DAO and ORM modules, to better understand JDBC and Hibernate persistence models and declarative transaction control.

This course is a variant of Course 117. To serve a range of audiences who are interested in different parts of the Spring framework and who have different backgrounds, we're maintaining three variants. Course 117 covers the same basic material but has a few less code exercises and follows a more aggressive, three-day timeline. Course 117B has the additional exercises and more relaxed pace found in this course, but de-emphasizes the Web module for a three-day timeline as well.

A bridge module is also available that illustrates how Spring's persistence module compliments the Hibernate ORM framework; this brief presentation can easily be added to the end of the class and works especially well to cap off a week of training using this course and our Hibernate course.

The Spring Framework Course Goals

  • Understand the scope, purpose, and architecture of Spring
  • Use Spring's Inversion of Control 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
  • Create validators for business objects, and associate them for application-level and unit-testing uses
  • Build a Web application as a Spring DispatcherServlet and associated application context, with declared beans acting as controllers, command objects, and view resolvers
  • Build and manage HTML forms with Spring command objects and custom tags
  • Use Spring interceptors to implement horizontal features in the Web application
  • Connect business objects to persistent stores using Spring's DAO and ORM modules

The Spring Framework Course Prerequisites

Experience in the following areas is required:

  • Java programming
  • Servlets programming
  • JSP
  • Basic knowledge of XML

The Spring Framework Course Outline

  1. Overview
    1. Web Applications
    2. J2EE: The Good, The Bad, and the Ugly
    3. Enter the Framework
    4. Spring Modules
    5. Controlling Object Creation
    6. Web Applications
    7. Persistence Support
    8. Aspect-Oriented Programming
    9. Integrating Other Frameworks
  2. Core Techniques
    1. Component-Based Software
    2. JavaBeans, Reconsidered
    3. The Factory Pattern
    4. Inversion of Control
    5. XML View: Declaring Beans
    6. Java View: Using Beans
    7. Singletons and Prototypes
    8. Initializing Bean State
  3. Dependency Injection
    1. Complex Systems
    2. Assembling Object Graphs
    3. Dependency Injection
    4. Single and Multiple Relationships
    5. The Utility Schema
    6. Autowiring
    7. Bean Aliases
    8. Order of Instantiation
  4. Validation
    1. Validators
    2. The Errors Object
    3. ValidationUtils
    4. Error Messages and Localization
    5. Nested Property Paths
  5. The Web Module
    1. Servlets and JSPs: What's Missing
    2. The MVC Pattern
    3. The Front Controller Pattern
    4. DispatcherServlet
    5. A Request/Response Cycle
    6. The Strategy Pattern
    7. JavaBeans as Web Components
    8. Web Application Contexts
    9. Handler Mappings
    10. "Creating" a Model
    11. View Resolvers
  6. Customizing Spring MVC
    1. HandlerMapping Options
    2. ViewResolver Options
    3. Chaining View Resolvers
    4. Triggering Redirects
  7. Controllers and Commands
    1. Working with Forms
    2. Command Objects
    3. The Template Method Pattern
    4. Command Controllers
    5. Data Binding
    6. MultiActionController
    7. Scope and Granularity of Command Objects
  8. Web Binding and Validation
    1. Property Editors
    2. Custom Property Editors
    3. Registrars
    4. Validating Form Input
  9. Form Controllers
    1. Form Controllers
    2. AbstractFormController
    3. SimpleFormController
    4. Spring Custom Tags
    5. <form:form> and Friends
    6. <form:errors>
    7. Reporting Errors
  10. Refining the Handling Cycle
    1. The Intercepting Filter Pattern
    2. Exception Handling
    3. Interceptors
    4. The Decorator Pattern
    5. Context and Lifecycle
    6. Awareness Interfaces
    7. Support and Utility Classes
    8. "Death By XML"
  11. The Persistence Tier
    1. The DAO Pattern
    2. The DaoSupport Hierarchy
    3. The DataAccessException Hierarchy
    4. JDBC DAOs
    5. JdbcTemplate and RowMapper
    6. Object/Relational Mapping
    7. Hibernate DAOs
    8. Transaction Control
    9. AOP vs. Annotations

The Spring Framework Course Materials

Each student will receive a comprehensive set of materials, including course notes and all the programming examples.

The Spring Framework Technical Requirements

Complete Setup Instructions

home - onsite classes - instructor-led online courses - self-paced online courses - why webucator - partners - contact - sitemap
© 2007 Webucator. All rights reserved. info@webucator.com | Toll Free: 877-WEBUCATE (877-932-8228) | From Outside the USA: 315-446-0560 | Fax: 315-410-5320
Phoenix, AZ | Santa Clara, CA | Santa Clara, CA | Los Angeles, CA | Sacramento, CA | Washington, DC | Atlanta, GA | Chicago, IL | Indianapolis, IN | Muncie, IN
New Orleans, LA Boston, MA | Cambridge, MA | Charlestown, MA | Framingham, MA | Ipswich, MA | Lincoln, MA | Wellesley, MA | Worcester, MA | Bangor, ME | Detroit, MI
Raleigh, NC Winston-Salem, NC | Lincoln, NE | East Hanover, NJ | Eatontown, NJ | Madison, NJ | Parsippany, NJ | Trenton, NJ | Albany, NY | Buffalo, NY | Rochester, NY
New York City, NY | Syracuse, NY | West Babylon, NY | Dayton, OH | Bethlehem, PA | Philadelphia, PA | Pittsburgh, PA | Pittsburgh, PA | State College, PA
Middletown, RI | Rapid City, SD | Austin, TX | Dallas, TX | Houston, TX | Arlington, VA | McLean, VA | Seattle, WA | Toronto, Canada | Ottawa, Canada | Calgary, CA