Home   |   Instructor-led Training   |   Self-Paced Learning                Email Us   Phone :
Contact Us   -   About Us          
 
Courses
A+
ADA
Adobe
AJAX
AutoCAD
Business Skills and Technology
C++ programming
Cisco
Citrix
Cognos
ColdFusion
COM/COM+
CORBA
Corel
Crystal Reports
Data Mining
DB2
Desktop Application Software
Enterprise Architecture
ITIL
Java
JBoss
Legato
Lotus
Macintosh
Mainframe programming
Microsoft / MCT
MS Access
MultiMedia and design
.NET
Network+
Object oriented analysis and design
OpenVMS
Oracle
Perl
PHP
PowerBuilder
Professional Development
Professional Soft Skills Workshops
Project Management
Rational
SAS
Security
SharePoint
SOA
SQL Server
Telecommunications
Tivoli
Unix/Linux/Solaris/AIX/HP-UX
Visual Basic
Visual Foxpro
VMware
Web 2.0
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
The Spring Framework
Version 2.0.1
Java Training 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.

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 covers the same basic material but has a few less code exercises and follows a more aggressive, three-day timeline.

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.

Java Training Prerequisites

  • Java programming is excellent preparation
  • Servlets programming
  • JSP
  • Basic knowledge of XML
Java Training Learning Objectives

After completing this course, the student should be able to:

  • 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
Java Training Course duration

4 Days

Java Training Course outline

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


System Requirements

  • Hardware – minimal: 500 MHz, 256 meg RAM, 500 meg disk space

  • Hardware – recommended: 1.5 GHz, 512 meg RAM, 1 gig disk space.

  • Operating system: Tested on Windows XP Professional. Course software should be viable on all systems which support a J2SE 5.0 JDK.

  • Software: All free downloadable tools.

    Contact Information
    WINTRAC INC. - the one stop shopping center for IT training.
    16523 S.W. McGwire Ct. Beaverton OR -97007
    Phone: (503) 259-0312
    Fax: 707-598-2268
    Email: sales@wintrac.com

    Send mail to webmaster@wintrac.com with questions or comments about this web site.
    Copyright © 2008 Wintrac Inc.