Call us at 1-978-250-4299
Hands On Technology Transfer

Introduction to Spring Boot 2 Java Course

Attend face-to-face, remote-live, on-demand or on site at your facility

On-Demand Training with Personal Facilitation
Top

Introduction to Spring Boot 2

Delivery Options: Attend face-to-face in the classroom, remote-live or via on-demand training.

Pricing

Face-to-face or remote-live: CDN$2,275

On-demand: CDN$1,975

Discounts: We offer multiple discount options. Click here for more informaiton.

Duration

Face-to-face or remote-live: 3 Days

On-demand: Approximately 21 hours of coursework with personal facilitation, to be completed in a four week span.

Registration

Face-to-face: Click here to view our schedules and register for in-person sessions.

Remote-live: Click here to register for live remote class sessions within a date range of your choosing.

On-demand: Click here to register for on-demand training with personal facilitation, on a start date of your choosing.

Students Will Learn

  • Overview of Spring Core (focus on @Configuration) and Maven/Gradle
  • When to use Spring Boot
  • Using Spring Boot starters and start.spring.io to easily create new applications
  • Understanding and using Spring Boot's auto-configuration
  • Customizing your application configuration
  • Understanding and using Spring Boot's Spring Data / Spring Data JPA capabilities
  • Understanding and using Spring Boot's Web capabilities
  • Using embedded servlet containers
  • Using Spring Boot Data REST
  • Using Spring Security with Spring Boot
  • Understanding and using Spring Boot's Actuator
  • Using Actuator endpoints to monitor and manage applications
  • Working with Spring DevTools
  • Spring CLI

Course Description

As the Spring framework has grown, creating and configuring Spring applications has become more and more complex. Spring Boot takes an "opinionated" view of an application (via intelligent defaults) that minimizes configuration and boilerplate Spring code. Spring Boot makes it easier to use Spring's many frameworks, and adds advanced capabilities such as health monitoring. This Java Spring Boot 2 training course introduces Spring Boot from the ground up, including overviews of building blocks such as Maven. It covers the key features and capabilities of Spring Boot, and teaches experienced Spring developers the skills they need to use Spring Boot productively. This course covers Spring Boot 2 and Spring 5 - the current releases of these frameworks.

Labs are done with the Eclipse IDE, and the lab instructions include detailed directions for setting up and using it. Comprehensive hands on exercises are integrated throughout the course to reinforce learning and develop real competency.

Students desiring additional coverage of Spring 5 and Spring REST should instead consider attending the Introduction to Spring 5, Spring Boot and Spring REST course.

Course Prerequisites

Java SE programming experience equivalent to attending the Java Programming course and basic knowledge of Spring equivalent to attending the 3-day Introduction to Spring 5 Framework course.

Course Overview

Spring Configuration Overview
  • Spring Review
  • Using the Spring Container
  • Overview of XML and @Component
  • Dependency Injection (DI) in Spring
    • Dependencies in Configuration Classes
    • Injecting Configuration Classes
  • Using Java-based Configuration (@Configuration)
    • Integrating Configuration of Different Types
  • Importing Between XML and @Configuration
Introduction to Spring Boot
  • Maven Overview
    • Core Maven Concepts
    • The Project Object Model (POM)
  • Spring Boot Overview
    • Dependency Management
    • Configuration with Spring Boot
    • Programming with Spring Boot
  • Spring Boot Hello World / SpringApplication
  • SpringApplication Overview
    • @SpringBootApplication
    • CommandLineRunner
    • ApplicationRunner
Configuration and Customization
  • Working with Properties
  • Overview of YAML
  • Configuring File Logging
  • Using the Spring TestContext Framework
  • Auto-Configuration Overview
  • Customizing SpringApplication
Spring Boot Database Support
  • JDBC Auto-Configuration Using spring-boot-starter-jdbc
  • Embedded Database Auto-Configuration
  • Configuring DataSource Properties
  • Spring Boot's JPA Support Using spring-boot-starter-data-jpa
  • Spring Data Overview
    • Using the CrudRepository/JpaRepository Methods
    • Defining Queries with Spring Boot Data
Spring Boot Web/REST and Security
  • DispatcherServlet Review
  • Web Starters and Configuration Using spring-boot-starter-web
  • Using Embedded Servers (Tomcat, Netty)
  • Deploying to an External Server
  • Spring Security Overview
  • Auto-configuration and Customization Using spring-boot-starter-security
  • Overview of Spring Boot Data REST
Spring Boot Actuator and DevTools
  • Overview of spring-boot-starter-actuator
    • Actuator Endpoints
    • Configuring Endpoint Access
    • Customizing Actuators and Health Checks
  • Overview of spring-boot-starter-devtools
Spring Boot CLI
  • Overview of Spring Boot CLI
  • Installing and Running the CLI
  • Grabbing / @Grab
 

Related Courses

Course Schedule

Choose a city below to view a schedule of courses. Attend regularly scheduled classes across Canada, or attend via our Remote-Live and On-Demand training options.