Spring Boot
This course provides both an introduction, as well as a deep dive into the most common features you will use building Spring Applications.

Instructor

Sergi Almar
Java and Spring Software Engineer, Spring I/O organizer
Based in sunny Barcelona, Sergi is an experienced software developer and architect focused on JVM technologies. Sergi is the lead organizer of the Spring I/O conference.
Prerequisites for Spring Boot:
- Some developer experience using a modern Java IDE and build tools such as Maven or Gradle
- Complete the Spring Framework Essentials course
Spring Boot Feature Introduction
Let’s learn about some of the features that make Spring Boot an easy framework to use.
Packaging and Integration Testing
Next, let’s learn how to package your Spring Boot application, and how easy it is to apply integration testing to your Spring Boot apps.
Spring Boot - Getting Started
Next, let’s learn the basics of Spring Boot, and how to get started quickly.
Spring Boot Feature Introduction Lab
Let’s get into it, and learn how to create a Spring Boot app.
Demo - Spring Boot Feature Introduction Lab
In this demo you’ll see how to create a Spring Boot application with ease.
Spring Boot - A Closer Look
We’ll learn how properties are loaded, how to use auto-configuration to simplify your application initialization, and how easy it is to override the default configuration.
Using Auto Configuration
Next, let’s learn how auto-configuration works for Spring Boot apps.
Override Default Configuration
Now, we’ll learn how to override the default configuration that Spring Boot provides.
Spring Boot - A Closer Look Lab
Let’s get hands-on! We’ll take the concepts you’ve learned in this module, and apply them to your Spring Application.
Demo - Spring Boot - A Closer Look Lab
In this demo, you’ll see and learn about dependency management, auto-configuration, packaging and runtime, as well as how to test your Spring Boot apps.
Spring Boot - Spring Data JPA
Here, you’ll learn how Spring Boot simplifies the configuration for Spring JPA applications.
Create Spring Data Repositories for JPA
Let’s discover how easy it is to create a Repository using JPA with Spring Boot.
Spring Boot - Spring Data JPA Lab
Next, we’ll take the concepts you’ve learned in this module, and apply them to your Spring Application.
Demo - Spring Boot - Spring Data JPA Lab
In this demo, we’ll see and learn how to implement a Spring JPA application using Spring Boot, and how to create Spring Data repositories using JPA.
Spring Web Introduction
Next, you’ll learn how to create a Spring MVC application using Spring Boot.
Create a simple RESTful controller to handle GET requests
Now, we’ll learn about Web Controllers and Message Converters, needed to build a Web App in Spring Boot.
Message Converters
Let’s learn how Message Converters are part of the Web Mvc lifecycle in a Spring Mvc app with Spring Boot.
Configure for WAR or JAR deployment
Now, let’s learn about how to package your Spring Boot app, either as a JAR, or a WAR file.
Spring MVC Quick Start
Next, we’ll learn about how to create a Spring Web App with Spring Boot.
Web Applications with Spring Boot Lab
Now, let’s get hands-on, learning how to set up a required Spring MVC infrastructure with Spring Boot, and how to expose Controllers as endpoints mapped to web application URLs.
Demo - Web Applications with Spring Boot Lab
In this demo you’ll see how to set up a required Spring MVC infrastructure with Spring Boot, and how to expose Controllers as endpoints mapped to web application URLs.
RESTful Application with Spring Boot
Here, you’ll learn all about REST apps, when to use them and how to create them with Spring Boot.
Implementing HTTP GET and PUT
Now, let’s learn how to map requests for HTTP GET, and PUT methods in a Spring Boot Rest application.
Implementing HTTP POST and DELETE
Let’s learn how to map requests for HTTP POST, and DELETE methods in a Spring Boot REST application.
Utilize RestTemplate to invoke RESTful services
Next, let’s create a REST client using the RestTemplate with Spring Boot.
RESTful Application with Spring Boot Lab
The time has come to get hands-on, taking the concepts you’ve learned in this module, and applying them to your Spring Application.
Demo - RESTful Application with Spring Boot Lab
In this demo you’ll see how to expose resources with Restful URLs, you’ll map request and response bodies using HTTP Message Converters, and implement the server-side REST endpoints. You’ll also see how to create a client using the RestTemplate to consume RESTful web services.
Spring Boot Testing
Let’s learn what is covered in this module, from testing your apps with Spring Boot, to integration, use of MockMvc, and Slice Testing.
Perform MockMVC testing
Now, you’ll learn about the Spring MVC Test framework, and how to use the MockMvc to test your Controllers in a Spring Boot Web app.
Perform Slice Testing
Next, let’s learn how to use Slice Testing to test your Domain, Data and Mvc Controllers in a Spring Boot Web app.
Spring Boot Testing Lab
Let’s get hands-on to take the concepts you’ve learned in this module, and apply them to your Spring Application.
Demo - Spring Boot Testing Lab
In this demo, you’ll see how to enable Spring Boot Testing, how to perform integration testing, and how to apply Slice Testing in your Spring Boot app.
Securing REST Application with Spring Security
We’ll evolve our learning, and understanding of Spring Security.
URL authorization
Next, you’ll learn about URL Authorization, using pattern matching that will help you customize access to the application resources and API.
Configuring Web Authentication
We’ll start learning how to configure Web Authentication, from basic auth, to using an HTML form.
Method security and testing
Now, let’s learn about how to protect methods in your Spring Application with method level security.
Securing REST Application with Spring Security Lab
Time to get hands-on again, and start to see Spring Security in action.
Demo - Securing REST Application with Spring Security Lab
In this demo you’ll see Spring Security in action.
Actuators, Metrics and Health Indicators
Next, we’ll learn how Spring Boot Actuator can help give you insights into a running Spring Boot Application, and how to access every endpoint that Actuator offers. Learn how metrics and monitoring through health indicators helps the application gain visibility.
Setting up Actuators
Here, you’ll learn how to set up - and configure - Spring Boot Actuator by overriding some of the defaults using application.properties.
Metrics
Let’s begin learning about Actuator Metrics by adding metrics to the domain application. You’ll have access to the Metrics, and expose their values for visualization.
Health Indicators
Next, let’s start to learn about Actuator Health Indicators, where you’ll create your own Health Indicator, and expose the current status of your application.
Actuators, Metrics and Health Indicators Lab
Now, we’ll get hands-on to learn about Actuator, and begin to utilize its features.
Demo - Actuators, Metrics and Health Indicators Lab
You’ll see a demo of Actuator, and begin to utilize its features.
Course Summary
Woohoo, you’ve completed the Spring Boot Course! Congratulations!