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 Training
◊ PRIVATE JAVA EE TRAINING


Need a private class for your team delivered at your site or a location near you?
For private groups of three or more, Webucator offers completely customizable and cost-effective Java EE classes delivered at your offices or a location near you.

To have someone contact you about these classes, please fill out the form below.

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

Spring Application Framework Training (4 days)


This Java EE class is delivered for private groups onsite at your offices or a location of your choice. It can also be delivered via the Internet for geographically distributed staff.

Click here for our public Java EE classes

The Spring Framework Course 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.

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

In addition to a comprehensive set of materials, including course notes and all the programming examples, each student will also receive a one-year subscription to Webucator's online reference library, which contains hundreds of the most current electronic technology books - a $149.95 per student value.

The Spring Framework Course Technical Requirements and Setup Instructions

Click here for technical requirements and setup instructions

home - onsite classes - instructor-led online courses - self-paced online courses - why webucator - partners - contact - sitemap
© 2009 Webucator. All rights reserved. info@webucator.com | Toll Free: 877-WEBUCATE (877-932-8228) | From Outside the USA: 315-849-2724 | 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