How To Take This Class

Course Overview

Core Spring 2.5 Framework is a three-day hands-on Spring training course 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. This course provides the foundational knowledge needed to implement and deploy Spring applications using the new and innovative concepts that Spring brings to the table.

Course Prerequisites

Attendees should have practical basic Java development experience.

Course Audience

This an intermediate- level Spring 2.5 training course, designed for developers who need to understand how and when to use Spring in Java and J2EE applications.

What You'll Learn

Upon successful completion of this course, students will be able to:
  • Explain the issues associated with complex frameworks such as JEE and how Spring addresses those issues
  • Understand the relationships between Spring and JEE, AOP, IOC, JDBC, Hibernate, JSF, Struts, JMS, and EJBs
  • Discuss the challenges to adopting Spring
  • Write applications that take advantage of the Spring container and the declarative nature of assembling simple components into applications.
  • Understand and work with various options for integrating persistence into a Spring application.
  • Work with Spring's support for transactions
  • Understand and work with various options for integrating view-oriented frameworks for web applications into Spring.

Course Duration

3 Days

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
  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. Spring Views
    • Spring/Web Framework Architecture
    • Spring MVC
    • Spring MVC Architecture
    • Spring MVC Components
    • Spring MVC Flow
    • Dispatcher and Controllers
    • Handlers and Mapping
    • Interceptors