section_text

DT offers a core set of courses aimed at covering the Application Lifecycle, from requirements gathering, analysis and design to development, testing, process and project management.

section_grafx
  

The Spring Framework


Course Overview
This in-depth, Advanced workshop Using Spring will present developers with best practices for software development, as well as tips and techniques for working with the tools and technologies within their specific environment
 

Course Style
This is an intermediate level Java programming course, designed for developers who wish understand Spring.
 

Course Overview

This is an overview of the course. For a detailed description with objectives per topic, we refer to the detailed workshop overview, listed further below in this document.
Session: Review of the Spring Framework

* Lesson: The Spring Framework and IoC
* Lesson: Advanced Spring Container Features

Session: Spring Data Access Support

* Lesson: Overview
* Lesson: Spring JDBC
* Lesson: Introduction to Hibernate
* Lesson: Spring Hibernate

Session: Spring AOP Framework

* Lesson: Spring AOP

Session: Web Frameworks

* Lesson: Spring and Struts (Optional)
* Lesson: Spring and JSF (Optional)
* Lesson: Overview of SpringMVC (Optional)

Session: Spring and EJB

* Lesson: Overview of EJB (Without Spring)
* Lesson: Overview of Spring and EJB

Session: Distributed Systems, JMS

* Lesson: Overview of JMS (without Spring)
* Lesson: Distributed Systems, JMS and Spring

Detailed overview
Review of the Spring Framework
Lesson: The Spring Framework and IoC

* Understand the value of Spring
* Explore IoC/DI
* Configuring collaborators
* Understand built-in property editors

Lesson: Advanced Spring Container Features

* Provide an overview of Spring's factory beans
* Re-use bean definitions in the configuration file
* Use placeholders in the configuration file
* Create custom property editors
* Become familiar with container post-processors

Spring Data Access Support
Lesson: Overview

* Understand the Spring DAO
* Understand Transaction Demarcation within Spring

Lesson: Spring JDBC

* Overview of Spring JDBC support
* Defining DataSources
* JDBC Exceptions and the SQLExceptionTranslater within Spring
* Creating JDBC DAOs
* Using the JdbcTemplate class
* Mapping rows to Objects using the JdbcTemplate
* Mapping data to Objects using SQL Helper Objects (Operation Classes)

Lesson: Introduction to Hibernate

* Define Object to Relational (O/R) Mapping (ORM)
* Define the Hibernate Architecture
* Illustrate the benefits of using Hibernate
* Understand the goals of Hibernate
* Understand key functionalities of Hibernate
* Define the different Hibernate types (Entities and values)
* Understand different Persistent representations (POJOs, Maps and XML)

Lesson: Spring Hibernate

* Overview of Spring Hibernate support
* Session and connection management
* Creating Hibernate DAOs
* Using the hibernateTemplate class

Spring AOP Framework
Lesson: Spring AOP

* AOP basics
* AOP support within Spring
* Understanding proxy factories

Web Frameworks
Lesson: Spring and Struts (Optional)

* Brief overview of Struts
* Understand the integration between Struts and Spring
* Understand bean resolution

Lesson: Spring and JSF (Optional)

* Brief overview of JSF
* Understand the integration between JSF and Spring
* Understand bean resolution

Lesson: Overview of SpringMVC (Optional)

* Understand the architecture of Spring MVC
* Understand how to configure a Spring MVC web application
* Understand URL mapping in Spring MVC
* Understand Interceptor classes
* Understand View and ViewResolver classes
* Understand Controller classes
* Understand how to process a form request
* Understand how to add validation support to form processing
* Introduce Themes, exception handling, I18N support, web application testing and wizards

Spring and EJB
Lesson: Overview of EJB (Without Spring)

* Cover the standard way to use EJBs in a non-Spring environment
* Utilizing Stateless (SLSB) and Stateful (SFSB) Session Beans in Spring
* Stateless Session Bean lookup using JNDI
* How to access local and remote EJBs

Lesson: Overview of Spring and EJB

* The Spring approach to implementing EJBs
* Singleton vs. multiple instances of the Spring context
* EJBs and shared contexts
* Spring and Stateless Session Beans
* Spring and Message Driven Beans

Distributed Systems, JMS
Lesson: Overview of JMS (without Spring)

* Goals of a distributed system
* Decoupling using messaging
* J2EE support for messaging (JMS)

Lesson: Distributed Systems, JMS and Spring

* Spring support for messaging
* Introduce Spring's JmsTemplate class

Hands-on lab exercises
1. Configuring Dependencies-Familiarization with the Spring configuration file
2. Advanced Configuration-Re-use bean definitions and make use of property files
3. Implementing the DAO Layer-Use the Spring DAO helper classes
4. Implement the MemberDAO using Spring and Hibernate-Use Spring's Hibernate classes
5. Spring IoC/AOP-To become familiar with Spring containers and Spring AOP
6. Using Struts and Spring-Create a front-end using Struts and Spring
7. Use JSF and Spring-Create a front-end using JSF
8. Web Application using Spring MVC-To learn how to build a web application using Spring MVC, including forms and validation
9. Spring SLSB-Gain a better understanding of Spring support for SLSBs
10. Spring JMS-Become familiar with the JMS support in Spring
 

Prerequisites
The student should be an experienced J2EE / Java programmer, with practical development experience using Servlets/JSPs

Recommended Follow-On Courses
.

Duration
4 days

Next Dates
Please call for dates

Cost
£1,500 plus VAT