Spring Boot course
Learn Spring Boot step by step: 118 lessons in 30 modules with worked examples, quizzes and interview questions. Free on JavaSchoolLab.
Spring Framework Fundamentals
- Spring Framework Introduction & Architecture
- IoC & Dependency Injection
- Spring Beans: Lifecycle & Scopes
- Stereotype Annotations
- Java Configuration & @Bean
- Autowiring: @Autowired, @Qualifier & @Primary
- Component Scanning & ApplicationContext
- Environment, Profiles & SpEL
- Mini Project: Order Service Wired by the Spring Container
Spring Boot Basics
- Introduction to Spring Boot
- Spring vs Spring Boot
- Spring Boot Features & Architecture
- Spring Boot Features
- Spring Initializr
- Maven/Gradle with Spring Boot
- Starter Dependencies
- spring-boot-starter
- Spring Boot Annotations Explained
- Spring Boot - Internal Working
- Profiles & Externalized Configuration
- Internationalization (i18n)
- Mini Project: Configurable Shop Banner (Auto-configuration and Properties)
REST API Development
- REST API & RESTful Web Services
- HTTP Methods
- HTTP Status Codes
- Building REST APIs with Spring Boot
- Request Mapping Annotations
- Reading Request Data
- ResponseEntity
- DTOs: Request and Response
- API Design - Pagination, Filtering & Versioning
- JSON - Structure & Parsing
- REST API - Save & Update Operation
- REST API - Get & Delete Operation
- Spring Boot - Interceptor
- Mini Project: Book Catalogue REST API
Exception Handling
- Exception Handling in Spring Boot REST APIs
- Custom and Business Exceptions
- Error Responses: ProblemDetail and Error Codes
- Default Error Page and the /error Fallback
- Exception Logging
- Mini Project: Consistent API Error Responses
Spring Data JPA
- ORM, JPA and Hibernate
- Spring Data JPA
- Entity Mapping: @Entity, @Table, @Id, @Column
- Derived Query Methods - Fetch by Single & Multiple Fields
- JPQL and @Modifying Queries
- Native Query with @Query
- Mapping - Real-World Scenarios
- Mapping - One-to-One & One-to-Many
- Mapping - Many-to-One & Many-to-Many
- Cascade Types and orphanRemoval
- Join Queries & DTO Projection
- JPA Advanced - Auditing, Locking & Specifications
- Mini Project: Student Repository with Spring Data JPA
Database Integration
Validation
Service Layer & Business Logic
Spring Security
- Spring Boot Security Basics
- How Spring Security Authenticates
- SecurityFilterChain: Securing URLs
- Users and Passwords (BCrypt)
- Roles, Authorities and RBAC
- Method-Level Security
- CSRF and CORS
- Spring Security - Hands-On Setup
- JWT Authentication
- OAuth 2.0, OpenID Connect and Social Login
- Security Errors and API Hardening
- Mini Project: Role-based API Security (Basic Auth)
JWT-Based Authentication
AOP
Spring Transactions
Logging
Testing
- Unit Testing with JUnit 5 & Mockito
- Integration & Slice Testing
- Testing Spring Boot Applications
- Mini Project: Test Suite Run by the JUnit Launcher
Actuator & Monitoring
Microservices
- Microservices - Introduction & Architecture
- Inter-Service Communication with WebClient
- Eureka Service Registry
- Mini Project: Order Service Calling Inventory Service
Spring Cloud
Kafka & Event-Driven Architecture
Messaging
Caching
Scheduling & Async
File Handling
- File Upload & Download
- CSV Import & Export
- Excel Export with Apache POI
- PDF Export with iText
- Mini Project: Safe File Upload and Download
Email & Notifications
- Sending Email
- SMS & OTP Verification
- Mini Project: Order Confirmation E-mail (tested against a local SMTP server)
API Documentation
Performance Optimization
Design Patterns with Spring Boot
Architecture & Clean Code
Production-Grade Spring Boot
DevOps & Deployment
- Building & Running an Executable JAR
- Containerising with Docker
- Mini Project: Twelve-Factor Config and Container Probes