Email Us   Phone : 503-259-0312   
  Home    |    Instructor-led Training    |    Self-Paced Learning    |    Online Training     


Contact Us   -   Why Choose Wintrac   -   Clients    

Courses
ADA
Adobe
Agile
AJAX
Android
Apache
AutoCAD
Big Data
Business Analysis
Business Intelligence
Business Objects
Business Skills
C++ programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CompTIA
CORBA
CRM
Crystal Reports
Datawarehousing
DB2
Desktop Application Software
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Lotus
Machine learning/AI
Macintosh
Mainframe programming
Microsoft technologies
Mobile
MultiMedia and design
.NET
NetApp
Networking
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PowerBuilder
Professional Soft Skills Workshops
Project Management
Rational
Ruby
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software quality and tools
SQL Server
Sybase
Symantec
Telecommunications
Teradata
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Other
Fast Track to Spring 2.x and Spring Web Flow 2
Java Training Overview

Spring is a lightweight Java framework for building enterprise applications. Its Core module allows you to manage the lifecycle of your objects, and the dependencies between them, via configuration metadata (usually XML) and Dependency Injection / Inversion of Control. Its advanced capabilities provide support for JDBC and persistence frameworks like Hibernate (DAO and ORM modules), Aspect-Oriented Programming (AOP module), integration with Java Web technologies (MVC and Web Flow), security, transactions, and more.

This course is a completely new course based on the Spring 2.0/2.5 releases. It starts with the basics of Spring and in-depth coverage on using the powerful capabilities of the Core module to reduce coupling, increase flexibility and ease the maintenance and testing of your applications.

The course goes on to cover all the important capabilities of Spring 2.0/2.5, including using Spring to simplify the creation of a persistence layer with JDBC and/or persistence frameworks like Hibernate, and using Spring's Aspect Oriented Programming (AOP) to program cross-cutting concerns such as transactions and security.

The course includes a brief introduction to Spring's Web MVC, and a thorough coverage of Spring Web Flow 2. Spring MVC is a Web framework based on the powerful Model-View-Controller pattern, and the overview covers the basics of Spring MVC, and how it supports organizing your Web applications in a highly structured, loosely coupled manner. Spring Web Flow 2 is a Spring framework for defining user interface flow in a Web applicaiton. The course includes thorough coverage of Web Flow, including an overview of its capabilities and architecture, defning flows, flow variables and actions, the Unified EL, and flow programming.

The course also includes a brief introduction to Spring Security which was integrated into the Spring project when Spring 2.0 was released. This module includes an overview of the Spring Security architecture, and how to use it to secure both Web application requests and bean invocations

This course is hands on with labs to reinforce all the important concepts. It will enable you to build working Spring applications, and give you an understanding of the important concepts and technology in a very short time.

The standard platform does all labs with the Eclipse IDE and Tomcat, and the lab instructions include detailed directions for programming and deployment. The course is available for all major development environments and application servers, including IBM RAD / WAS.

Java Training Skills Gained
  • Understand the core principles of Spring, and of Dependency Injection (DI)/Inversion of Control
  • Use the Spring Core module and DI to configure and wire application objects (beans) together
  • Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API
  • Work with the DAO and/or ORM modules to  create a well structured persistence layer with JDBC or Hibernate
  • Understand and use Spring 2.x's powerful new AOP capabilities for programming cross-cutting concerns across multiple points in an application
  • Understand and use Spring's transaction support, including Spring 2.x's easy to use tx/aop XML configuration elements, and Java 5 annotations
  • Understand how Spring MVC works, and how to build well-structured Web applications with it
  • Understand and use Spring Web Flow 2 to define user interface flow in Web applications.
  • Understand the basics of Spring Security, and how to secure Web apps and Spring managed beans with it
Hands-On

50% hands-on, 50% lecture

Supported Platforms

Spring 2.5, SWF 2, Tomcat/Eclipse, IBM RAD/WAS, IntelliJ, Weblogic AS, GlassFish AS

Java Training Course Duration

5 Days

Java Training Course outline

Session 1:  Introduction

  • Overview of Spring Technology
    • Shortcomings of Java EE, Spring Architecture
  • Spring Introduction
    • Managing Beans, Configuration Metadata, The Spring Container, IoC, DI
  • Dependencies and Dependency Injection (DI)
    • Dependency Inversion, Dependency Injection (DI) in Spring, DI Configuration, Advantages

Session 2:  More about Bean Properties

  • Working with Properties
    • Configuring Value Properties, Property Conversions, Setter / Constructor Injection
  • Collection Valued Properties
    • Configuring  and Using <list>, <set>, <map>, <props>
  • Additional Capabilities
    • Factory Methods, Bean Aliases, Definition Inheritance (Parent Beans), Autowiring

Session 3:  The Spring Container and API

  • ApplicationContext
    • ClassPathXmlApplicationContext, FileSystemXmlApplicationContext, Constructors, Usage
  • Resource Access
    • Overview, Resource Implementations
  • Bean Scope and Lifecycle
    • Bean Scope Defined, Configuring, Inner Beans, Bean Creation Lifecycle, Using the Lifecycle Interfaces (e.g. BeanFactoryAware), BeanPostProcessor, Even Handling
  • MessageSources
    • Defining and Using Resource Bundles, Localization/I18N
  • Annotation Driven Configuration
    • @Required, RequiredAnnotationBeanPostProcessor
    • Dependency Injection with @Resource
    • @Component, Auto-Detecting Beans, Other Stereotypes

Session 4:  Database Access with Spring

  • Issues with JDBC
    • Examination of Typical JDBC Flow
  • Introduction to Spring DAO Support
    • Spring Database API, (Simple)JdbcTemplate,  (Simple)JdbcDaoSupport, DataSources,
    • Working With and Configuring, <list>, <set>, With Bean Refs, <map>, <props>
  • Queries and Inserts
    • RowMapper, ParameterizedRowMapper, Passing Arguments, queryForObject, query, update
  • Additional API Capabilities
    • Additional query methods, Passing Type Arguments, queryForList, FetchSize, MaxRows
  • Using Spring with Hibernate
    • HibernateTemplate, LocalSessionFactoryBean, Hibernate Configuration, HibernateDaoSupport,
    • Configuring a Hibernate DAO
    • HibenateTemplate Query Methods, Using HibernateCallback, Using Contextual Sessions

Session 5:  Aspect Oriented Programming (AOP)

  • Overview of AOP
    • AOP Basics, Aspect, Joinpoint, Advice, Pointcut
  • Introduction to Spring AOP
    • Capabilities, New 2.x Configuration (XML and @AspectJ), Weaving, Joinpoints
  • Using Aspects
    • XML Configuration with <aop:>
    • Defining Advice, Configuring Pointcuts, Targets and Proxies
    • AspectJ Pointcuts, Autoproxies
  • Using @AspectJ Annotations
    • @AspectJ Annotations, Declaring Advice

Session 6:  Spring Transaction (TX) Management

  • Intro to Spring Transaction Management
    • Overview, Component TX Model, TX Propagation, Declarative Transactions, TransactionManagers
  • Using Spring Transactions
  • Annotation Configured Transactions
    • @Transactional and its settings
  • XML Configured Transactions
    • new <tx:*> elements, Configuring tx:advice, and tx:attributes
    • Defining the TX advisor

Session 7:  Overview of Spring Web MVC

  • Overview - Capabilities, Architecture
  • Introduction to Spring MVC
    • DispatcherServlet, Handlers, HandlerMappings
    • Command Controllers, Commands, View Resolvers
  • Forms
    • Spring Form Tags, Writing/Processing Forms

Session 8:  Overview of Spring Security

  • Overview - Capabilities, Architecture
  • Introduction to Spring Security
    • HTTP Security
    • Method Security
  • Authentication Providers

Session 9:  Introduction to Spring Web Flow 2

  • Overview - Need for Flow, Capabilities, Architecture
  • Defining Flows
    • XML Flow Definition Language
    • Flows, States, and Transitions
    • Accesing Flows in Web Pages
    • Exiting Flows - flowRedirect and externalRedirect
  • Configuring Web Flow - Flow Executor, Flow Registry, Integration with Spring MVC
  • Working with Data - Flow Instance Variables, Flow Inputs
  • View Pages and Model Binding
  • Flow Actions - evaluate, set, and render

Session 10:  More on Spring Web Flow 2

  • Using the Unified Expression Language (EL) with Web Flow
    • Syntax and Expressions
    • Implicit Objects
    • Flow Control
  • Using Data Scopes - Request, Flash, View, Flow, Conversation, and Session Scope
  • POST-REDIRECT-GET Idiom
  • Flow Language Elements
    • More on States, Actions, and Other Elements
    • Routing with action-state and decision-state

Session 11:  Programming with Spring Web Flow 2

  • Creating Custom Actions
    • POJO Based Actions vs the Action interface
    • RequestContext and ExternalContext
  • Validation and Error Reporting
    • Defining Validation in the Model and in a Validator Class
    • ValidationContext, MessageContext, and Resource Bundles
  • Converters
  • Subflows
    • Defining and Using
    • Input/Output Variables
    • Conversation Scope Variables
    • Subflow End States

 
About us
Contact us
Careers at Wintrac
Our Clients
Why Wintrac


Register for a free training CD-ROM drawing
Refer a client or instructor and earn $$$


Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
 
Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy