• Online, Self-Paced
Course Description

The Spring Framework is one of the most popular application development frameworks for creating enterprise Java applications. The incorporated best practices and infrastructure support provided by the framework simplifies application buildup and breakdown, allowing developers to spend more time on business logic. In addition to the core framework, there are several active Spring Projects available to make developing specific types of applications, or implementing certain concerns in Java applications easier. In this course, you will learn the basics of the Spring Framework including setting up an environment for developing Spring applications, about Spring beans, about Spring xml configuration, and about dependency injection and autowiring using Spring.

Learning Objectives

Getting Familiar with Spring

  • start the course
  • recognize what the Spring Framework is and how it can be used
  • download, configure, and run Spring Tool Suite
  • recognize what the Maven build tool is and how to download and install Maven
  • create a new Java project in Spring Tool Suite and build a Java project using Maven via the command line
  • recognize how to use Maven to manage dependencies within Spring Tool Suite

Spring Application Concepts

  • create a Java application that runs atop the Spring framework
  • recognize what a Spring bean is and how to create Spring beans
  • recognize the different scopes a Spring bean can be set to
  • create a Spring application context using various methods

Spring and XML Configuration

  • configure a bean to set properties using a custom constructor
  • configure a bean to set properties using the properties tag
  • configure a bean to set collection properties
  • configure a Spring bean using the p-namespace
  • use setter injection to set up bean dependencies
  • use constructor injection to set up bean dependencies
  • use values set in external files to set bean properties
  • create and use an anonymous inner bean that is used to configure an outer bean property
  • define methods that run after a bean is instantiated and before a bean is destroyed

Spring and Autowiring

  • recognize what Spring autowiring is and how it is used
  • autowire bean properties based on class type
  • autowire bean properties based on name
  • autowire bean properties based on custom constructors
  • use default autowiring in a Spring bean configuration file

Practice: Spring Application Basics

  • understand setting up an environment for developing and creating Spring 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.