finds.dev

mercyblitz/thinking-in-spring-boot-samples

小马哥书籍《Spring Boot 编程思想》示例工程

View on GitHub

★ 1,912JavaApache-2.0updated May 2023

// the take

Sample code from a Chinese-language book on Spring Boot internals, covering versions 1.0 through 2.0. It's a companion repo to a physical book, not a standalone learning resource — without the book, most of the examples lack enough context to be useful. Aimed at Java developers who read Chinese and want to understand what Spring Boot is actually doing under the hood.

The version-by-version structure is genuinely useful — separate Maven modules for each Spring Boot minor version (1.0.x through 2.0) let you see exactly when a feature was added or how the API changed. The examples go deeper than typical tutorials: things like custom FailureAnalyzer implementations, AutoConfigurationImportListener, and RelaxedPropertyResolver internals that most Spring Boot books skip. The author (mercyblitz) is a well-known Spring contributor in the Chinese community, so the source material is credible. Maven multi-module layout is clean and each sub-project is self-contained.

Last pushed May 2023 and the book it accompanies targets Spring Boot 2.0, which hit EOL in November 2023 — adopting anything from here for a greenfield project means immediately dealing with deprecated APIs and migration debt. The repo is essentially useless without the accompanying book, which is only available in Chinese and was still incomplete when the repo went quiet (the Web and Ops volumes were listed as in-progress). No tests, no explanatory comments in the code itself — the examples are meant to be read alongside book chapters, not run standalone. Spring Boot 3.x and the jakarta namespace migration are completely absent.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,912
Forks
785
Language
Java
License
Apache-2.0
Last commit
26 May 2023

// nearby

If thinking-in-spring-boot-samples isn't quite it.

All repos →