Video description
Leverage the rich Spring ecosystem to create complex and secure applications with Spring Boot
About This Video
- Create and publish Spring Boot projects
- Examine existing Spring Boot projects and troubleshoot issues
- Create projects out of various technologies using starter dependencies
In Detail
Spring Boot provides some impressive features to simplify writing your code, and does so with minimal effort. It is the fastest way to get a Spring application up and running with the fewest lines of code and the least configuration. It aims to make development easy so that you can create production-grade applications and services.
This course begins by helping you configure Spring Boot, then shows you a practical implementation of its various features. Then, you will work on running and debugging Spring Boot apps in the IDE. Following that, you’ll learn the foundations of the Spring Boot platform and understand its operations. Afterwards, you’ll understand layered architecture basics and how Spring Boot lets us create layered applications built on top of Spring. You’ll also see how autoconfiguration works and understand how to use it and troubleshoot it where required. Finally, you’ll be injecting properties into Spring-managed beans and publishing Spring events to ApplicationListeners.
By the end of the course, you will get hands-on knowledge of running and debugging Spring Boot applications in the IDE. You will also be able to publish these applications on a website.
Table of Contents
Chapter 1 : Introduction
Welcome to the Course
Chapter 2 : Getting Started
Section Introduction
Creating a Spring Boot Application with Spring Initializr
Exploring a Spring Initializr Generated Spring Boot Project
Using Maven with Spring Boot
Using Gradle with Spring Boot
Running and Debugging Spring Boot Apps in the IDE
Understanding Layered Architecture in Spring Applications
Important Spring Boot Resources You Should Know
Chapter 3 : Taking a Tour of a Sample Spring Boot Application
Section Introduction
Downloading Spring Pet Clinic
Building the Spring Pet Clinic Application
Running the App and Taking a Tour of the Application
Examining the Project and its Dependencies in the IDE
Examining the Controllers and Web Layer
Examining the Repositories and Data Layer
Examining the Start-Up of a Spring Boot Application
Examining the Application Properties, Logging Configuration, and Profiles
Summing Up the Essence of How a Spring Boot Application Works
Chapter 4 : Understanding Starter Dependencies
Section Introduction
Understanding Spring Boot Starter Dependencies and Their Resolution
Relating the Spring Boot Dependency Graph within your IDE
Looking at the Flattened Resolved Dependencies Set
Changing the Starter Dependency to Bring in a Different Spring Boot Starter Web
The Relationship of Starter Dependencies with Autoconfiguration
Chapter 5 : Understanding Autoconfiguration
Section Introduction
How Spring Boot Creates the Spring Application Container
How @SpringBootApplication Configures a Spring Boot App
Spring Factories for Autoconfigured Libraries
Understanding a Typical Autoconfiguration
Property Injection in Autoconfiguration Classes
Understanding Conditions and Excluding and Overriding Autoconfiguration
Debugging Autoconfiguration by Enabling Autoconfig Reporting
Chapter 6 : Understanding Spring Boot Properties
Section Introduction
Common Properties in Spring Boot that You can Configure
Injecting Properties into Spring-Managed Beans
Providing Default Values for Properties
Overriding Properties at Runtime with System Properties
Specifying Properties in YAML File Format
Accessing Nested Properties and Strongly-Typed Property Values
Chapter 7 : Exploring Start-Up of a Spring Boot Application
Section Introduction
Examining a Foundational Spring Boot Project
Registration of Important Spring ApplicationListeners
Preparing and Establishing the Spring Application Context
Creating the Beans of the Spring Runtime
Creating the Embedded Tomcat Web Server
Publishing Spring Events to ApplicationListeners
Chapter 8 : Wrapping Up
Thanks and wrap up