• Online, Self-Paced
Course Description

The Spring Framework is an open source framework and inversion of controller container for the Java platform. The Spring Framework is one of the most popular application development frameworks for creating enterprise Java applications. This course covers creating web applications using the Spring Framework. In this course, you will learn about using Spring MVC to create functional web applications.

Learning Objectives

Getting Familiar with Spring MVC

  • start the course
  • recognize the Spring MVC framework and how to use it to create Spring-based web applications
  • recognize how HTTP requests and responses flow through the Spring MVC architecture
  • set up Maven dependencies needed to create a Spring MVC application

Creating a Spring MVC Application

  • recognize the various components in a Spring MVC application configuration
  • configure a web.xml file for a Spring MVC web application
  • create a servlet configuration xml file for a Spring MVC web application
  • create Spring MVC controllers using request mappings and handler methods
  • create JSP views for use in a Spring MVC application
  • configure a Spring MVC application to locate and use JSP view files
  • use STS to launch and use a Spring MVC application deployed from an Apache Tomcat server

Spring MVC Web Form Basics

  • recognize the Spring form tags that can be used to help create Spring web forms
  • create a Spring MVC web form
  • validate a Spring MVC web form
  • configure controller handler methods to map to URLs based on the HTTP request method
  • upload files in a Spring MVC web application

Using Spring MVC Application Features

  • recognize some of the features that are offered by the Spring MVC framework
  • serve static files from a Spring MVC web application
  • perform redirects from a Spring MVC web application
  • use @ModelAttribute in a controller to declare a method intended to update the model of a Spring MVC application
  • use @SessionAttribute to add data to the current session of a Spring MVC web application
  • use @CookieValue to work with cookies in a Spring MVC web application
  • create a Spring MVC web application using a Java-based configuration

Spring MVC Controller Handler Methods

  • recognize some of the arguments and return types we can use when defining Spring MVC handler methods
  • configure Spring MVC handler methods to only map to HTTP requests with certain URL parameters defined
  • configure Spring MVC handler methods to only map to HTTP requests where certain headers are defined
  • access and use HTTP request parameters from within controller handler methods

Practice: Web Applications and Spring MVC

  • use Spring MVC to create web applications

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.