Course duration
- 3 days
Course Benefits
- Get an overview of Spring Core (focus on @Configuration) and maven/gradle - building blocks for Spring Boot
- Understand the needs that Spring Boot fulfills
- Use Spring Boot starters and start.spring.io to easily create new applications
- Understand and use Spring Boot's auto-configuration
- Customize your application configuration
- Understand and use Spring Boot's Spring Data / Spring Data JPA capabilities
- Understand and use Spring Boot's Web capabilities (focusing on Spring REST), including embedded servlet containers
- Become familiar with Spring Boot Data REST
- Use Spring Security with Spring Boot
- Understand and use Spring Boot's Actuator
- Use Actuator endpoints to monitor and manage applications
- Become familiar with and work with Spring DevTools
- Become familiar with the Spring CLI
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private classes are delivered for groups at your offices or a location of your choice.
Course Outline
- Spring Configuration Overview
- Spring Review - XML and @Component
- Dependency Injection
- Java-based Configuration (@Configuration)
- Integrating Configuration of Different Types
- Introduction to Spring
- Brief maven Overview
- Intro to Spring Boot - What is Spring Boot and What It Does
- Spring Boot Hello World / SpringApplication
- SpringBootApplication / CommandLineRunner / ApplicationRunner
- Configuration and Customization
- Working with Properties - YAML and .properties
- Logging and its Configuration
- Spring TestContext Framework
- Auto-configuration Overview
- Customization
- Spring Boot Database Support
- 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
- Spring Boot Web/REST and Security
- 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 and Devtools
- Actuator Overview and Capabilities
- Actuator Endpoints
- Custom Actuators and Health Checks
- Devtools Overview
- Other Tools and Features
- Spring Boot CLI
- Overview and Capabilities
- Grabbing / @Grab
- Other Capabilities
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Experience in the following is required for this Spring class:
- Good working knowledge of Java programming.
- Basic knowledge of Spring framework.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.