This guide is designed to help you quickly learn to use Spring Boot to build web applications and services with hands-on experience tutorials and examples series
Spring Boot Framework
Spring Boot is a micro Java-based framework used to build web applications and services. Spring Boot has the following features
- Embed application servers such as Tomcat, Jetty, and Undertow directly
- Provide starter dependencies to simplify your build configuration
- Auto configure Spring and 3rd party dependencies, no requirements for XML configuration
- Provide production-ready features such as metrics, health checks, and externalized configuration
Prerequisites
Your local computer should have installed JDK 8+ or OpenJDK 8+, Maven 3+, Docker CE 18+
Getting Started
View Templates
Containers
Property Files
Form Handling
Form Data Binding and Validation Example with Spring Boot and FreeMarker
Contact Form Example with Spring Boot, FreeMarker and Amazon SES
Files Uploading
Spring Data JPA and Hibernate
RESTful API with Spring Data REST
RESTful API Example with Spring Data REST and JPA/Hibernate One To Many
RESTful API Example with Spring Data REST and JPA/Hibernate Many To Many
RESTful API Example with Spring Data REST and JPA/Hibernate Many To Many Extra Columns
RESTful API with @RestController
RESTful API Example with Spring Boot, Unit Test with MockMVC and UI Integration with VueJS
Spring Boot REST API Documentation with Swagger and SpringFox
CRUD Full Stack
Spring Boot CRUD TodoMVC Example with REST APIs, JPA, Hibernate, MySQL and VueJS
Spring Boot CRUD Example with RESTful APIs, JPA, Hibernate, MySQL and VueJS
Validation + Exception Handler
Java Bean Validation API and Hibernate Validator Tutorial with Example
Spring Boot REST API Validation + Globally Error Handling Tutorial with Example
HTTP Client
Security
Email Verification After Registration Example with Spring Boot, MySQL, Docker Compose, Amazon SES
Login with OAuth2 and OpenId Connect in Spring Boot with ScribeJava
Single Sign On (SSO) Example with JSON Web Token (JWT) and Spring Boot
Single Log Out Example with JSON Web Token (JWT), Spring Boot and Redis
Testing
Spring Boot Test Service Layer Example with Mockito's @Mock and @InjectMock
Spring Boot Test REST API and Controller Layer Example with @WebMvcTest and MockMvc