‹ Back To Training

Spring Web

Timeline: 4 Days

Prerequisites

  • Experience using Java to develop applications
  • Basic understanding of Spring

Topics

Expand All › ‹ Collapse All

  • Eclipse (Spring Tool Suite distribution)
  • Apache Tomcat/vFabric tc Server
  • Spring Insight
  • Testing tools
  • Introduction to Spring configuration
  • Bean life cycle
  • Configuration alternatives
  • Integration testing with Spring
  • Spring model-view-controller (MVC) overview
  • DispatcherServlet
  • Controller programming model overview
  • Spring MVC views
  • Simplifying configuration
  • Spring MVC infrastructure Beans
  • URL mappings
  • Handler mappers and handler adapters
  • Interceptors
  • Message source
  • Page layout and structure
  • Creating reusable templates with Apache tiles
  • Configuring tiles in Spring MVC
  • XML configuration and the namespace
  • Using Java Configuration
  • Running in a Servlet 3 environment without web.xml
  • Views and view resolvers
  • Setting up a View resolver chain
  • Alternating views and Content Negotiation
  • JSON and XML Views
  • Form Rendering
  • Type Conversion
  • Data Binding
  • Form submission lifecycle
  • Form validation (using Spring and JSR 330 validation)
  • Form Object management
  • Working in several languages: internationalization support in Spring MVC
  • Look-and-feel changes using themes and locales
  • Handling Mobile Devices with Spring Mobile
  • Overview of REST and HATEOAS concepts
  • Using Spring’s RestTemplate for clients access
  • Extending Spring MVC to support RESTful interactions
  • HAL and the Spring HATEAOS project
  • Using @RequestStatus with Exceptions
  • Adding Exception handlers to Controllers
  • Global exception handling using Controller Advices and Exception resolvers
  • Exception handling for RESTful interactions
  • Ajax and Spring MVC
  • Using JavaScript frameworks
  • Example: Spring MVC REST and jQuery
  • Creating custom tags to encapsulate JavaScript
  • Motivation for Spring Web Flow: handling problems like duplicate form submission, stale session state, and state collision between windows
  • Spring Web Flow architecture and generic configuration
  • Typical flow makeup
  • Configuration using XML or Java Config
  • Using XML to author flows
  • Testing flow execution
  • Available scopes (request, flash, view, flow and conversation)
  • Executing actions and data binding
  • Validation and branching
  • Action state and various types of custom actions
  • Decision state and exception handling
  • Passing data in and out of flows
  • Reusing flows: subflows and flow inheritance
  • Execution listeners
  • Securing Web Flow definitions
  • Motivation for Spring Security
  • Spring Security in a Web environment
  • Using Spring Security tag libraries
  • Method security
  • Debugging applications in a browser
  • Testing Web applications using Spring’s Mock MVC framework
  • Using Spring HtmlUnit
  • Fast development and deployment using Spring Boot
  • Overview of Websocket development
  • Using Websockets and Stomp with Spring MVC