Spring Boot in Action
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Java 基础语法,准备转向 Spring Boot 开发的后端新手
- 用过 Spring 但对自动配置、起步依赖一知半解,想系统理解的开发者
- 希望用最短时间摸清 Spring Boot 全貌、并了解 Actuator 运维手段的工程师
- 需要在团队内做技术分享或新人培训,想要一本脉络清晰教材的技术负责人
Not a good fit for
- 完全没有 Java 和 Spring 基础的读者,读起来会缺少前置概念铺垫
- 需要用 Spring Boot 2.x/3.x 及现代微服务、响应式技术栈的读者,书中内容已明显滞后
- Python、前端等非 Java 技术栈的开发者,收益有限
Reading tips
- 先通读第1、2章建立“自动配置+起步依赖”的整体认知,再按需跳读后面的专题章节。
- 第3、4、7章建议边读边动手,把书中的示例改成自己项目中的场景,理解会更牢。
- 附录B、C、D当速查表用,不必通读,遇到依赖冲突或配置疑问时再翻。
- 读完后再对照 Spring Boot 官方文档,补上书中缺失的新版本特性,避免沿用旧写法。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 Getting Started
- 1.1 Spring Rises Again
- 1.1.1 Rediscovering Spring
- 1.1.2 The Essentials of Spring Boot
- 1.1.3 What Spring Boot Is Not
- 1.2 Getting Started with Spring Boot
- 1.2.1 Installing the Spring Boot CLI
- 1.2.2 Initializing a Spring Boot Project with Spring Initializr
- 1.3 Summary
- Chapter 2 Developing Your First Application
- 2.1 Using Spring Boot
- 2.1.1 Exploring the Newly Initialized Spring Boot Project
- 2.1.2 Anatomy of the Spring Boot Build Process
- 2.2 Using Starter Dependencies
- 2.2.1 Specifying Feature-Based Dependencies
- 2.2.2 Overriding Transitive Dependencies Brought In by Starters
- 2.3 Using Auto-Configuration
- 2.3.1 Focusing on Application Features
- 2.3.2 Running the Application
- 2.3.3 What Just Happened
- 2.4 Summary
- Chapter 3 Customizing Configuration
- 3.1 Overriding Spring Boot Auto-Configuration
- 3.1.1 Securing the Application
- 3.1.2 Creating a Custom Security Configuration
- 3.1.3 Lifting the Veil on Auto-Configuration
- 3.2 Externalizing Configuration with Property Files
- 3.2.1 Fine-Tuning Auto-Configuration
- 3.2.2 Externalizing Configuration of Application Beans
- 3.2.3 Configuring with Profiles
- 3.3 Customizing the Application Error Page
- 3.4 Summary
- Chapter 4 Testing
- 4.1 Auto-Configuration for Integration Testing
- 4.2 Testing Web Applications
- 4.2.1 Mocking Spring MVC
- 4.2.2 Testing Web Security
- 4.3 Testing a Running Application
- 4.3.1 Starting the Server on a Random Port
- 4.3.2 Testing HTML Pages with Selenium
FAQ
这本书对应 Spring Boot 的哪个版本?
没学过 Spring 框架能直接读吗?
书中的示例代码能直接运行吗?
为什么翻译版页数比英文原版多?
这本书适合用来准备面试吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Craig Walls is the author of Spring in Action, Sixth Edition. Publicly available information about his nationality, dates of birth and death, educational background, and professional career is limited; what can be confirmed is that he takes part in spreading computer knowledge through technical writing. Judging from the work held in the collection, his subject area falls under general computing, with a specific focus on the practical application of the Spring framework. Positioned as a hands-on guide, the book typically centers on real development scenarios, emphasizing workable examples and step-by-step explanation rather than abstract theory. This writing style suits readers who want to turn framework knowledge into practical skills, and gives his work reference value for learners of the relevant technology. Overall, his writing is practice-oriented and clearly organized, serving developers' practical needs in understanding and using Spring.