Spring 4.2 and the Web (TT3363-S42)

Spring 4.2 and the Web is a three day in-depth course geared for experienced Java and Spring developers who need to understand how to use Spring in conjunction with the various technologies used in and supporting rich web interfaces. The course covers a wide spectrum of topics, so students should have a basic understanding of those technologies and resources prior to taking this class. This course is a key component in our comprehensive Spring Framework Training Series.

Retail Price: $1,995.00

Next Date: Request Date

Course Days: 3


Request a Date

Request Custom Course


About This Course

Spring 4.2 and the Web is a three day in-depth course geared for experienced Java and Spring developers who need to understand how to use Spring in conjunction with the various technologies used in and supporting rich web interfaces.  The course covers a wide spectrum of topics, so students should have a basic understanding of those technologies and resources prior to taking this class.  This course is a key component in our comprehensive Spring Framework Training Series.

Course Audience

This an intermediate level and beyond Java/Spring training course, designed for developers who need to understand how and when to use Spring applications with the web.  Attendees should have practical basic Java development experience as well as an understanding of the Spring framework.

Course Pre-Requisites

Take Before: Students should have basic development skills and a working knowledge in the following topics, or should attend this training as a pre-requisite:

  • TT3328: Spring 4.2 Essentials or TT3330 Mastering the Spring 4.2 Framework

At Course Completion

Working in a dynamic, lab-intensive hands-on coding environment, students will learn to:

  • Integrate Ajax into Spring to provide a rich, interactive web interface
  • Understand how to use various view technologies within the Spring framework
  • Use Spring’s Web Flow as a framework to build interfaces for complex web applications
  • Work with HTTPUnit and Spring to facilitate unit testing in the context of the web
  • Interoperate with RESTful services from within Spring 4.2
  • Understand and work  Spring Security to acquire and process authentication credentials as well as enforce authorization on enterprise resources
  • Understand how to defend Spring applications from the perspective of application security

Course Outline

Session: Spring MVC In-Depth

Lesson: Spring MVC Review

  • Spring MVC Review
  • Spring MVC application Layers
  • Request Life Cycle in Spring MVC
  • HandlerMapping
  • Controllers
  • Interceptors
  • ViewResolver

Lesson: HandlerMapping

  • Mapping URLs to Controllers
  • HandlerMapping Interface
  • RequestMapping Annotation
  • Mapping Requests
  • Custom Handler Mapping

Lesson: Controllers

  • Spring MVC's Controller Hierarchy
  • How to Select a Controller
  • Controller Interface
  • Controller annotation
  • Form Controllers
  • Handling Exceptions
  • Testing Controllers

Lesson: Validation

  • Types of Validators
  • Validator Interface
  • Controller with Validator
  • Errors Interface
  • JSR-303 Bean Validation API
  • Injecting a Validator

Lesson: HandlerInterceptors

  • HandlerInterceptor  Lifecycle Points
  • LocaleChangeInterceptor
  • UserRoleAuthorizationInterceptor
  • WebContentInterceptor

Lesson: Spring’s form Tag Library

  • The Spring Form tags
  • Using a PropertyEditor
  • Survey of form tags
  • Support for HTML5 Attributes

Session: Advanced Spring Web Topics

Lesson: Spring Web Flows

  • Spring Web Flows Components
  • Configuring Spring Web Flows
  • Web Flow FlowExecutor
  • Triggering an Event
  • Subflows

Lesson: Spring Messaging

  • spring-messaging Module
  • Message
  • Message Channel
  • Message Handler

Lesson: Spring and WebSockets

  • Working with WebSockets in Spring
  • SockJS: Fallback Option
  • Spring Messaging and WebSockets
  • Working with STOMP Messages

Lesson: Spring AJAX with DWR

  • DWR Mechanics
  • Spring and DWR Configuration
  • Resource Handling
  • Versioned Resource URLs
  • Generating HTML5 AppCache Manifests

Session: Testing in Spring

Lesson: Unit Testing and Spring

  • Spring Can Make Testing Much Easier
  • Spring Supports Spring-Specific Tests

Lesson: Testing Spring Web Applications

  • Testing a SpringMVC Controller
  • Creating Request and Response Objects
  • Streamlining Your Assertions
  • Unit Testing a Spring-MVC  Web Application

Lesson: SpringMVC Test Framework

  • Overview of Test Framework
  • Options for Setting up Tests
  • Using the DispatcherServlet
  • Setting up and Running Tests

Session: Spring Security Framework

Lesson: Enterprise Spring Security

  • Spring Security Framework
  • Security Interceptors – Function and Types
  • Performing Authentication
  • Wiring in Encoders and Salts
  • Access Decision Managers
  • Votes and Voters

Lesson: Spring Web Security

  • Spring Security Works by Interception
  • Securing a Web page
  • The Standard Set of Filters
  • Using Spring Security with Spring Beans
  • SecurityContextHolder

Session: Implementing REST with Spring

Lesson:  Overview of REST (Optional)

  • REpresentational State Transfer
  • REST Characteristics
  • REST Elements
  • REST Architectural Principles
  • REST and HTTP
  • REST/HTTP: Representation-Oriented
  • REST Design Principles

Lesson: RESTful Services in Spring

  • Spring Support for REST
  • Spring's Parameter Injection
  • @RestController Annotation

Lesson: Handling Restful Content

  • Handling Transformations in Spring
  • Negotiated view-based rendering
  • HTTP Message Converters
  • Jackson Serialization Views
  • Working with JSONP

Lesson: RESTful Clients in Spring

  • Spring's Hidden Method Field
  • Processing Incoming REST Requests
  • Spring's Support for REST Clients
  • Performing GET Requests and Other Methods
  • Non-blocking Asynchronous Rest


Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com


Request a Date