Spring
 
 
Spring
 
Duration:   3 days Level:  Intermediate Format:   50% lab
 
Description:
This course is intended for developers who have responsibility for designing and implementing J2EE based applications and who wish to simplify development by using features of the Spring Framework. Spring is a layered Java/J2EE application framework, based on code published in Expert One-on-One J2EE Design and Development by Rod Johnson. A central focus of Spring is to allow for reusable business and data access objects that are not tied to specific J2EE services. You can use all of Spring's functionality in any J2EE server, and most of it in a non-managed environments.
 
Topics:
1 Introduction
2 The Spring Container and Dependency Injection
3 Spring Model View Controller
4 Integrating Spring with Struts
5 Using JDBC
6 Using Spring with Hibernate
7 Aspect Oriented Programming with Spring
8 Transactions and Security
9 Messaging
10 Remoting
 
Contents:
1 Introduction
 
  • Classroom logistics
  • Course overview
  • Tools and software discussion
   
2 The Spring Container and Dependency Injection
 
  • Spring Beans
  • Injecting Dependencies with Spring
  • Writing jUnit Tests
   
3 Spring Model View Controller
 
  • Using Spring MVC
  • Writing Spring Controllers
  • Alternative Spring Views: PDF using iText
   
4 Integrating Spring with Struts
 
  • Turning Struts Actions into Spring Beans
  • Replacing Struts RequestProcessor
   
5 Using JDBC
 
  • Using Spring JDBC Templates
  • Refactoring Out Common Code
   
6 Refactoring Out Common Code
 
 
   
7 Aspect Oriented Programming with Spring
 
  • Overview of AOP
  • Creating and configuring AOP advice objects
   
8 Transactions and Security
 
  • Programmatic Transactions
  • Configuring Simple Transactions
  • Transactions on Multiple Databases
  • Securing Application Methods
   
9 Messaging
 
  • Sending Email Messages
  • Working with JMS
  • Testing JMS Applications
   
10 Remoting
 
  • Remoting Overview
  • Remoting with Hessian and Burlap
  • Working with EJBs
  • Working with JAX-RPC Web Services
   
Prerequisites:
Students must have extensive Java programming experience. Students must be familiar with basic J2EE concepts and how to build web applications with J2EE.
   
Audience:
Architects, Designers, Analysts and Developers.