Skip to content
Pebellslearn by building

The course

Spring Boot

Learn how Spring creates and wires your objects and how Spring Boot sets it all up for you. You will build up one library lending service while learning dependency injection, web endpoints, security with tokens, starters, auto-configuration and production health checks.

Ready to learn

Your path through the ideas

Inside the course

7 modules · 22 lessons
CLI tools & setup · Start here

Install your tools, choose your setup and verify a local run.

02Meet Spring4 lessons

Learn the vocabulary of Spring and Spring Boot, how a service is split into controller, service and repository layers, why teams choose Spring at all, and how properties and profiles change behaviour without rebuilding.

  1. 01Spring Terminology10 min
  2. 02Architecture — Layers of a Spring App12 min
  3. 03Why Use Spring?10 min
  4. 04Configuration — Properties, Profiles and Overrides14 min
03The Spring Core5 lessons

See how the container builds and wires your beans, how proxies add behaviour such as timing and transactions, how Spring MVC turns a request into a method call, which annotations do what, and why most beans must be stateless singletons.

  1. 01Inversion of Control and Dependency Injection14 min
  2. 02Spring AOP — Behaviour Around Methods14 min
  3. 03Spring MVC — From HTTP Request to Method Call14 min
  4. 04Annotations — Labels Spring Reads12 min
  5. 05Spring Bean Scope — How Many Copies?14 min
04Spring Security4 lessons

Protect library-service with Spring Security: authenticate callers in the filter chain, write URL and method rules for authorization, and understand how OAuth2 and JSON Web Tokens let a trusted server vouch for users.

  1. 01Authentication — Who Are You?14 min
  2. 02Authorization — What May You Do?14 min
  3. 03OAuth2 — Letting a Trusted Server Vouch for Users15 min
  4. 04JWT Authentication — Tokens That Carry Their Own Proof15 min
05Spring Boot Starters3 lessons

Learn what a starter is, which ones most services use, how to read a build file to understand an app, and how the Boot bill of materials keeps every library version in step.

  1. 01What a Starter Is10 min
  2. 02The Starters You Will Use Most12 min
  3. 03Starter Versions and the Boot BOM12 min
06Auto-configuration3 lessons

Open up the machinery behind Spring Boot: auto-configuration classes guarded by conditions, the condition evaluation report that explains every decision, and the property, bean and exclude levers that override it.

  1. 01How Auto-configuration Works12 min
  2. 02Conditions — The Switches Behind Auto-configuration14 min
  3. 03Overriding and Debugging Auto-configuration14 min
07Actuators3 lessons

Add Spring Boot Actuator to library-service, choose which endpoints to expose, report honest health to the platform with custom indicators and probes, and read metrics while keeping sensitive endpoints locked away.

  1. 01Actuator Endpoints — A Window Into the Running App12 min
  2. 02Health Checks — Telling the Platform You Are Well14 min
  3. 03Metrics, Info and Safe Exposure15 min
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.