Docs LogoDocs

Spring Boot Notes

Topic-wise Spring Boot notes, beginner to advanced.

A topic-wise Spring Boot reference. Each topic is its own page — use the sidebar to navigate, grouped into Beginner, Intermediate, and Advanced sections.

Go roughly in order the first time through — later topics assume earlier ones (e.g. Testing assumes you already know the Controller → Service → Repository layering from the Beginner/Intermediate sections).

Table of Contents

Beginner

ModuleDescription
IntroductionWhat is Spring Boot, why use it?
Project SetupSpring Initializr, project structure
Dependency InjectionInversion of Control, Beans, @Autowired
Configurationapplication.properties, @Value, @ConfigurationProperties
Annotations@Component, @Service, @Repository, @Controller

Intermediate

ModuleDescription
REST APIs@RestController, RequestMapping, path variables
ValidationJakarta Bean Validation, @Valid, @NotBlank
Exception Handling@ControllerAdvice, @ExceptionHandler
Spring Data JPAEntities, Repositories, derived queries
Database IntegrationConnecting to SQL/NoSQL databases
LombokReducing boilerplate with @Data, @Builder

Advanced

ModuleDescription
SecuritySpring Security basics, filtering, basic auth
JWT AuthenticationStateless auth with JSON Web Tokens
TestingJUnit, Mockito, @SpringBootTest
Caching & Redis@Cacheable and integrating Redis
Actuator MonitoringHealth checks, metrics, endpoints
Profiles & EnvironmentsManaging environments (dev, test, prod)
Async & Scheduling@Async, @Scheduled
Microservices DeploymentDocker, Kubernetes, building jars
Resilience & Rate LimitingResilience4j, rate limiting
Last updated on July 15, 2026

On this page