Course 2 of 3 on the Java Full Stack Developer path
Spring Boot, REST and JPA
Build a REST API with Spring Boot: dependency injection, auto-configuration, profiles, controllers, validation, error handling, Spring Security basics, JPA entities, repositories, transactions and the N+1 problem.
- 12 lessons
- About 121 min reading
- Intermediate
- Updated 13 Nov 2026
After this course you can
- Explain dependency injection, beans and auto-configuration
- Build REST controllers with validation and consistent error responses
- Use correct status codes and DTOs
- Secure endpoints with Spring Security basics
- Model entities and relationships with JPA
- Write repository queries, understand lazy loading, transactions and the N+1 problem
Before you start: the Core Java course and SQL basics. JDK 17 or newer (21 or 25 recommended) and Maven.
Lessons
Spring core
Building REST APIs
Data access with Spring Data JPA
Know it, or think you know it?
Take a free mock interview on Spring Boot, REST and JPA for Java Full Stack Developer: 3 questions, a score and feedback on each, in about 10 minutes.