The Spring Framework 2.5

Course:  SPRING
Duration:  4 Days
Level:  II
Course Summary

This course enables the experienced Java developer to use the Spring Application Framework to create both simple and complex Web applications. Spring is a framework that facilitates all sorts of Java development, including every level of multi-tier distributed systems. We focus on Core and MVC modules, and persistence using 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. Students will build Web applications that use the Spring MVC framework to translate their designs into coherent request/response cycles. Spring command objects will be used to manage HTML forms and data, and connect these to the validation framework.

« Hide The Details
Topics Covered In This Course

Overview

  • Web Applications
  • J2EE Comparison
  • Enter the Framework
  • Spring Modules
  • Controlling Object Creation
  • Persistence Support
  • Aspect-Oriented Programming
  • Integrating Other Frameworks

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

The Business Tier

  • Complex Systems
  • Assembling Object Graphs
  • Dependency Injection
  • Single and Multiple Relationships
  • Autowiring
  • Bean Aliases
  • Order of Instantiation
  • Validation
  • Nested Properties

The Web Tier

  • 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

Controllers and Commands

  • Working with Forms
  • Command Objects
  • The Template Method Pattern
  • Command Controllers
  • Data Binding
  • MultiActionController
  • Scope and Granularity of Command Objects

Working with Forms

  • Property Editors
  • Validating Form Input
  • Form Controllers
  • AbstractFormController
  • SimpleFormController
  • Spring Custom Tags
  • Reporting Errors

Refining the Handling Cycle

  • The Intercepting Filter Pattern
  • Exception Handling
  • Interceptors
  • The Decorator Pattern
  • Context and Lifecycle
  • Awareness Interfaces
  • Support and Utility Classes
  • XML Usage

The Persistence Tier

  • The DAO Pattern
  • The DaoSupport Hierarchy
  • The DataAccessException Hierarchy
  • JDBC DAOs
  • JDBC Template and RowMapper
  • Object/Relational Mapping
  • Hibernate DAOs
  • Transaction Control
  • AOP vs. Annotations

Enterprise Considerations

  • Security Considerations
  • Remoting Options
  • JMX
  • Web Services
What You Can Expect

At the end of this course, delegates will 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
Who Should Take This Course

This course is designed for Java EE developers looking to explore Java's most promising open-source frameworks available today. Experience with Java EE technologies is extremely helpful in deriving the most benefit from this course, though it is not required.

Recommended Prerequisites

Java programming, Servlets programming, JSP programming, and a basic knowledge of XML.

Training Style

Lecture (50%) / Lab (50%)

« Hide The Details
Related Courses
Code Course Title Duration Level
SPRING3
The Spring Framework 3.0
5 Days
II
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at info@verhoef.com