Spring in Action (6th Edition) cover

Spring in Action (6th Edition)

Rating 4.4
Word count
254K words
Chapters
39
ISBN
9787115598691

Tags

Summary

This is a classic and practical guide to learning Spring, covering the Spring framework, Spring Boot, and other components of the Spring ecosystem.

The book is divided into 4 parts and 18 chapters. Part 1 (Chapters 1–6) covers the fundamentals of building Spring applications. Part 2 (Chapters 7–10) discusses how to integrate Spring applications with other applications. Part 3 (Chapters 11–14) explores Spring's new support for reactive programming. Part 4 (Chapters 15–18) introduces how to prepare applications for production and how to deploy them. This book is suitable for Java developers just beginning to learn Spring Boot and the Spring framework, and also serves as a reference for experienced Spring developers who want to go beyond the basics and learn new Spring features.

Editor's review

*Spring in Action, Sixth Edition* is a recognized classic and authoritative guide in the Spring framework field, written by Craig Walls, a core member of the Spring team. The book has a Douban rating of 9.1, reflecting its content quality and reader acclaim. Compared with previous editions, the sixth edition fully embraces modern development paradigms such as Spring Boot 2, Spring Security 5, and reactive programming, with significant improvements in both depth and breadth.

As an editor, I believe the book's core value lies in its "in action" orientation. It is not a mere listing of APIs but systematically guides readers to build a complete Spring application from scratch through a coherent "Taco Cloud" case study. This project-driven approach makes abstract concepts (such as dependency injection, AOP, data persistence, security, and integration) concrete and tangible. The coverage of reactive programming and RSocket is particularly excellent, keeping pace with technological trends and providing a clear path for developers addressing high-concurrency, low-latency modern application scenarios.

Walls's writing style is clear and rigorous, combining depth with readability. He not only tells you "how" but also explains "why," helping readers build a systematic understanding of the Spring ecosystem. Whether the newly introduced Spring Native or the discussion of microservice architecture, the book demonstrates foresight. For developers who wish to deepen their expertise in Spring or need to upgrade their existing skill set to Spring 5/6, this nearly 800-page tome is a rare "map" and "manual" that effectively prevents losing one's way in the vast ecosystem.

Who it's for

A good fit for

  • Intermediate and advanced developers with Java and web development fundamentals who want to systematically learn or master Spring and Spring Boot
  • Technical personnel transitioning from traditional Spring development to Spring Boot, microservices, or reactive programming
  • Team technical leads who need an authoritative, comprehensive, and up-to-date reference to solve real engineering problems
  • Computer science students or self-learners seeking to understand enterprise application development through a complete project practice

Not a good fit for

  • Absolute beginners with no programming background, who should first master core Java syntax and basic web concepts
  • Readers who only need to quickly look up a specific API and want a crash-course manual or fragmented tips

Reading tips

  1. Be sure to practice hands-on. Code along with the "Taco Cloud" project step by step; this is key to understanding all concepts. For configuration or version issues, consult the official documentation or the book's companion code repository first.
  2. Distinguish between "conceptual understanding" and "API details" while reading. On the first pass, focus on grasping the overall architecture and design philosophy; on the second pass, delve into specific technical points through practice.
  3. Use this book alongside the official Spring documentation. The book provides a coherent narrative and context, while the official documentation offers the most accurate and up-to-date API descriptions; the two complement each other.

About the publisher

Posts & Telecom Press China · Founded in 1953

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

  1. 版权信息
  2. 版权声明
  3. 内容提要
  4. 译者序
  5. 关于本书
  6. 作者简介
  7. 关于本书封面
  8. 前言
  9. 致谢
  10. 资源与支持
  11. 第1部分 Spring基础
  12. 第1章 Spring起步
  13. 第2章 开发Web应用
  14. 第3章 使用数据
  15. 第4章 使用非关系型数据
  16. 第5章 保护Spring
  17. 第6章 使用配置属性
  18. 第2部分 Spring集成
  19. 第7章 创建REST服务
  20. 第8章 保护REST
  21. 第9章 发送异步消息
  22. 第10章 Spring集成
  23. 第3部分 反应式Spring
  24. 第11章 理解反应式编程
  25. 第12章 开发反应式API
  26. 第13章 反应式持久化数据
  27. 第14章 使用RSocket
  28. 第4部 分 部署Spring
  29. 第15章 使用Spring Boot Actuator
  30. 第16章 管理Spring
  31. 第17章 使用JMX监控Spring
  32. 第18章 部署Spring
  33. 附录 初始化Spring应用
  34. A.1 使用Spring Tool Suite初始化项目
  35. A.2 使用IntelliJ IDEA初始化项目
  36. A.3 使用NetBeans初始化项目
  37. A.4 在start.spring.io中初始化项目
  38. A.5 使用命令行初始化项目
  39. A.6 构建和运行项目

FAQ

What are the main differences between the sixth edition and the fifth edition? Is it worth upgrading?
The sixth edition is a comprehensive rewrite and upgrade, centered on Spring Boot 2 and Spring 5. Major additions include: a full shift to Spring Boot's auto-configuration and starter dependencies; in-depth coverage of reactive programming (Spring WebFlux) and RSocket; updated content on Spring Security and Spring Data; and new discussion of Spring Native (native images). If your technology stack needs or plans to upgrade to Spring Boot 2.x or later, the sixth edition is well worth getting.
Is this book suitable for Spring Boot beginners?
The book is very suitable for both introductory and advanced Spring Boot learning. It reorganizes all content from a Spring Boot perspective, enabling beginners to get started with the Spring ecosystem in the most modern and efficient way. However, readers need solid Java fundamentals and basic web development concepts (such as HTTP and MVC); otherwise they may encounter obstacles in understanding some deeper principles.
Where can I get the complete code for the book's examples?
All sample code is maintained by the author and can be found in the official repository published on the Manning website or code hosting platforms such as GitHub. After obtaining the code, follow the README instructions to select the branch or tag matching the book's content to ensure a consistent runtime environment.

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.

张卫滨 Author · Chinese

Zhang Weibin is a Chinese researcher and translator, though public information about him is limited and many details of his life remain unknown. Available sources indicate that he has worked on the translation and collation of works in literature and history, a field that requires solid language skills and careful textual handling. Among books in the general computing category, he is known to readers for his translation of Spring in Action, Sixth Edition; as a technical practice-oriented work, the translation carries the task of accurately conveying the original content to Chinese readers. From literary and historical translation to technical book translation, his work spans different subjects, reflecting a translator's adaptability in language conversion and knowledge transfer. Overall, Zhang Weibin participates in the dissemination of books as a translator; only one work is currently documented, and further details of his experience and output await supplementary material.

吴国浩 Author · Chinese

Wu Guohao is a Chinese scholar about whom limited public information is available; his life and academic career are not reliably documented. The library holds one work by him, Spring in Action (6th Edition), classified under general computing. The book deals with the practical application of the Spring framework and is a technical title aimed at developers. Judging from this work alone, he focuses on how mainstream Java development technologies are used in real projects, explaining technical points through examples so that readers can consult the book as needed and practice hands-on. It should be noted that the library lists the book under general computing, while an existing profile describes him as engaged in the study of classical Chinese literature and textual scholarship. These point to different fields, and the available material is very limited, so his specific research direction and professional background cannot be confirmed for now; readers should rely primarily on the work itself when citing him.

Top rated in the same category