Mastering the Spring Framework

Duration

Five Days

Description

This leading-edge course provides added coverage of Spring's Aspect-Oriented Programming and the use of Annotations. Students then learn how to integrate iBATIS as the persistence layer for Spring applications. The Spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion. Spring's flexibility and transparency is congruent and supportive of incremental development and testing. The framework's structure supports the layering of functionality such as persistence, transactions, view-oriented frameworks, and enterprise systems and capabilities. Spring's Aspect-Oriented Programming (AOP) framework enables developers to declaratively apply common features and capabilities across data types in a transparent fashion. Spring makes J2EE development easier. Spring simplifies commons tasks and encourages good design based on programming to interfaces. Spring makes your application easier to configure and reduces the need for many J2EE design patterns. Spring puts the OO design back into your J2EE application, and it integrates nicely with JSF.

Objectives

At the end of this course, students will be able to:

Topics

Audience

This course is geared for experienced Java developers who need to understand what the Spring Framework is in terms of today's systems and architectures, and how to use Spring in conjunction with other technologies and frameworks.

Prerequisites

Students should have practical basic Java development experience and a basic understanding of an ORM tool such as iBatis or hibernate. Duration Five days Integrating Spring 2.5 with iBatis

Course Outline

  1. Introduction to the Spring 2.5 Framework
    • Understanding the value of Spring
    • Inversion of Control
    • Dependency Injection
    • Spring Overview
    • Spring Application Architectures
    • Spring Container
    • Managing the Container
    • Access to Services and Resources
    • Application Contexts
    • Beans as Components
    • Beans and Factories
    • XML Bean Configuration
    • Bean Definition and Dependencies
    • Bean Lifecycle
    • Customization Options
    • Post-Processors
    • Property Editors

     

  2. Aspect-Oriented Programming
    • AOP Benefits and Concepts
    • Aspect Defined
    • Decoupling Through Aspects
    • Code Generation Styles
    • Cross-Cutting Concerns
    • Spring's AOP Framework
    • Advice and Weaving
    • Proxies: Cost/Benefit
    • Types of Advice
    • Interceptor Chain
    • Joinpoints and PointCuts
    • Advisors
    • Working with Proxies
    • Annotations and AOP
    • Aspects, Advice, and Pointcuts Using Annotation
    • Introductions
    • Introductions and Annotations

     

  3. Data Access
    • Data Access Pattern
    • Overview of Persistence Layer and Transactions
    • Transaction Overview
    • Spring Transactions
    • Defining Spring Transactions
    • Working with Demarcation
    • Managing Spring Transactions
    • Spring JDBC
    • Spring JDBC Architecture
    • Working with JDBC Template
    • Database Operations
    • Handling JDBC Exceptions
  4.  

  5. Spring Views
    • Spring/Web Framework Architecture
    • Spring MVC
    • Spring MVC Architecture
    • Spring MVC Components
    • Spring MVC Flow
    • Dispatcher and Controllers
    • Handlers and Mapping
    • Interceptors
    • Spring and Struts (optional)
    • Spring/Struts Architecture
    • Integrating Struts into Spring
    • Spring and JSF (optional)
    • Spring/JSF Architecture
    • Integrating JSF into Spring
  6.  

  7. Spring Security Framework
    • Understand basic security concepts
    • Secure Web Pages
    • Use Multiple Roles – Secure pages based on roles
    • Allow login and logout
    • Create custom login pages
    • Use JSP Tags to conditionally allow content based on roles
    • Securing Services based on roles
    • Securing Services based on identity
  8.  

  9. Integrating Spring and iBATIS
    • iBATIS Overview
    • Simplifying iBATIS Configuration with Spring
    • Configuring iBATIS in Spring
    • Spring’s SqlMapClientFactoryBean
    • Using iBATIS from Spring

State of Missouri Navigation

Bookmark and Share