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
- Introduction and Spring Core Concepts: what Spring and Spring Boot are, IoC, DI and beans.
- Setup & Configuration: create a project, manage dependencies, use application.properties.
- REST API Development and Spring MVC: controllers, request mapping, validation and responses.
- Data JPA & Hibernate and Database Integration: entities, repositories, relationships and databases.
- Spring Boot Security: authentication, authorization, JWT and OAuth2.
- Testing, Logging & Monitoring, and Microservices: make the application production-ready.
All sections
11 sections, 181 lessons.
Introduction
15 lessons
- › What is Spring Framework
- › What is Spring Boot
- › Advantages of Spring Boot
- › Spring vs Spring Boot
- › Spring Boot Architecture
Spring Core Concepts
15 lessons
- › Inversion of Control (IoC)
- › Dependency Injection (DI)
- › Bean Lifecycle
- › Bean Scopes
- › ApplicationContext
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
- › Spring MVC Architecture
- › DispatcherServlet
- › REST Controller Basics
- › Response Handling
- › View Resolver
Spring Boot Data JPA & Hibernate
24 lessons
View all 24 lessons →Database Integration
14 lessons
- › MySQL Integration
- › PostgreSQL Integration
- › MongoDB Integration
- › Oracle DB Integration
- › SQL Server Integration
Spring Boot Security
22 lessons
View all 22 lessons →Spring Boot Microservices
20 lessons
- › Introduction to Microservices
- › Monolithic vs Microservices
- › Spring Cloud
- › Service Discovery
- › Eureka Server
Spring Boot Testing
12 lessons
View all 12 lessons →Spring Boot Logging & Monitoring
12 lessons
View all 12 lessons →