Build your first Spring Boot web application with database access, caching, and REST APIs.
Learn how to secure a Spring application using Spring Security, OAuth2, and session management.
Break a monolithic application into microservices using Spring Cloud service registration and load balancing.
Implement batch data processing pipelines with Spring Batch for large-scale data operations.
SpringAll is a collection of Java source code examples that accompany a series of tutorial blog posts about Spring Boot and related frameworks. Each folder in the repository corresponds to a specific tutorial topic, and the code is meant to be read alongside the blog articles (written in Chinese) at mrbird.cc. The collection covers a broad range of Spring-ecosystem subjects. The Spring Boot section includes tutorials on database access, caching, logging, email sending, building REST APIs with documentation, exception handling, cross-origin requests, asynchronous calls, and connecting to databases and message systems. There are dedicated sections for Spring Security (covering login flows, session management, permission control, and OAuth2 for delegated authorization), Shiro (an alternative security framework for authentication and authorization), Spring Cloud (service registration, load balancing, circuit breaking, API gateways, and distributed configuration), Spring Batch (batch data processing pipelines), and core Spring internals like the bean lifecycle and aspect-oriented programming. This repository is aimed at Java developers who want hands-on, step-by-step examples to go with written explanations. Someone building their first Spring Boot web application, learning how to secure it, or exploring how to break a large application into cooperating microservices using Spring Cloud would use this as a practical study companion alongside the accompanying blog.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.