Overview
Spring Boot allows Java developers to create standalone Spring applications that “just run,” typically using an embedded instance of Tomcat, Jetty, or Undertow. These Spring Boot applications require no code generation or XML configuration, while at the same time they feature integrated health monitoring, simplified Maven configuration, and a host of other features that make building, deploying, and running your Spring applications far easier.
Objectives
At the end of Springboot training course, participants will be able to
Prerequisites
All participants must already have a strong understanding of Spring Core and ideally Spring MVC as well.
Course Outline
- Spring Review – XML and @Component
- Dependency Injection
- Java-based Configuration (@Configuration)
- Integrating Configuration of Different Types
- Brief maven Overview
- Intro to Spring Boot – What is Spring Boot and What It Does
- Spring Boot Hello World / SpringApplication
- SpringBootApplication / CommandLineRunner / ApplicationRunner
- Working with Properties – YAML and .properties
- Logging and its Configuration
- Spring TestContext Framework
- Auto-configuration Overview
- Customization
- Basic Auto-configuration – Datasource and Pooling
- Configuration Properties
- Spring Boot’s JPA Support – spring-boot-starter-data-jpa
- Spring Boot Data (with Data-JPA in Detail)
- Using Spring Boot Data – CrudRepository/JpaRepository
- Defining Queries with Spring Boot Data
- DispatcherServlet Review
- Web Starters and Configuration spring-boot-starter-web
- Using Embedded Servers (Tomcat, Netty)
- Deploying to an External Server
- Spring Security Overview (Web)
- spring-boot-starter-security – Auto-configuration and Customization
- Spring Boot Data Rest – Generated Web Services from Repositories
- Actuator Overview and Capabilities
- Actuator Endpoints
- Custom Actuators and Health Checks
- Devtools Overview
- Other Tools and Features
- Overview and Capabilities
- Grabbing / @Grab
- Other Capabilities