🍃 Spring Boot

Spring Boot Tutorial

Spring Boot is the most common way to build production Java backends. It sits on top of the Spring Framework and removes most of the setup: sensible defaults, auto-configuration, starter dependencies and an embedded server, so an application can run from a single jar.

This tutorial begins with the Spring concepts that make Boot work (inversion of control, dependency injection, beans) and then covers project setup and configuration, REST API development, Spring MVC, Spring Data JPA and Hibernate, database integration with MySQL, PostgreSQL, MongoDB, Oracle and SQL Server, Spring Security including JWT and OAuth2 login, microservices, testing, and logging and monitoring. It assumes you are comfortable with core Java.

Suggested learning path

  1. Introduction and Spring Core Concepts: what Spring and Spring Boot are, IoC, DI and beans.
  2. Setup & Configuration: create a project, manage dependencies, use application.properties.
  3. REST API Development and Spring MVC: controllers, request mapping, validation and responses.
  4. Data JPA & Hibernate and Database Integration: entities, repositories, relationships and databases.
  5. Spring Boot Security: authentication, authorization, JWT and OAuth2.
  6. Testing, Logging & Monitoring, and Microservices: make the application production-ready.
Start the Spring Boot tutorial →

All sections

11 sections, 181 lessons.

Introduction

15 lessons

View all 15 lessons →

Spring Core Concepts

15 lessons

View all 15 lessons →

Spring Boot Setup & Configuration

12 lessons

View all 12 lessons →

Spring Boot REST API Development

23 lessons

View all 23 lessons →

Spring Boot MVC

12 lessons

View all 12 lessons →

Spring Boot Data JPA & Hibernate

24 lessons

View all 24 lessons →

Database Integration

14 lessons

View all 14 lessons →

Spring Boot Security

22 lessons

View all 22 lessons →

Spring Boot Microservices

20 lessons

View all 20 lessons →

Spring Boot Testing

12 lessons

View all 12 lessons →

Spring Boot Logging & Monitoring

12 lessons

View all 12 lessons →