Spring Boot Enterprise Application Development cover

Spring Boot Enterprise Application Development

Rating 3.3
Word count
61K words
Chapters
150
ISBN
9787894465894

Tags

Summary

This book covers an introduction to Spring Boot, Spring Boot configuration files, the principles of auto-configuration, web auto-assembly,

Spring Boot logging, Thymeleaf view templates, internationalization and interceptors, WebMVC hands-on case studies, Druid and data source configuration for CRUD, Spring Boot and security frameworks, Spring Boot cache development, Spring Boot integration with RedisTemplate, Spring Boot message queues, Spring Boot tasks, ElasticSearch retrieval, search analyzers, and retrieval in practice. Through this book, students can master the knowledge and practical application of Spring Boot enterprise-level application development.

Editor's review

Spring Boot Enterprise Application Development is a hands-on technical book for intermediate and advanced Java developers. Drawing on years of frontline development experience, author Ma Quan systematically organizes the core application scenarios of Spring Boot in enterprise projects. The book's greatest value lies in its problem-driven approach: rather than simply listing API documentation, it explains technologies through typical enterprise-level requirement cases, such as configuration management under microservice architecture, distributed transaction processing, and optimization for high-concurrency scenarios. This structure enables readers to quickly connect theoretical knowledge with real business needs.

In terms of depth, the book covers the core features of Spring Boot 2.x and devotes a dedicated chapter to integration with the Spring Cloud ecosystem. Particularly commendable is that the author consistently maintains a trade-off mindset when explaining technical solutions, objectively analyzing the applicable scenarios and limitations of different technology choices—a prudent attitude that helps cultivate engineers' architectural judgment. The code examples in the book have all been verified in production environments and are thoroughly commented, offering high reference value.

However, it should be noted that the book assumes a certain foundation in Java and the Spring framework, making it more suitable for readers with 1–2 years of Spring development experience. If you are a newcomer to Java Web development, some chapters may feel too in-depth. Overall, this is an excellent reference book that helps intermediate developers break through technical bottlenecks and transition toward an architect's mindset.

Who it's for

A good fit for

  • Java engineers with 1–2 years of Spring framework experience who want a deeper understanding of enterprise application development
  • Core members of technical teams transitioning from monolithic applications to microservice architecture
  • Architects who need to systematically master best practices for Spring Boot in distributed environments
  • Graduate students or senior undergraduates in computer-related majors seeking practical references for enterprise-level projects

Not a good fit for

  • Complete beginners with no Java or Spring foundation
  • Readers who only need to understand basic Spring Boot concepts and get a quick start

Reading tips

  1. Read the first three chapters in order to build a knowledge framework, then selectively delve into specific chapters based on actual project needs
  2. It is best to practice alongside the code examples in the book; the 'Thoughts and Practice' section at the end of each chapter is worth completing carefully
  3. The book can serve as a reference manual when selecting technical solutions, to be consulted when specific technical challenges arise

About the publisher

Chongqing University Electronic Audio-Visual Publishing House focuses on electronic and audio-visual publications in the social sciences, science and technology, and education, and is involved in developing and operating digital teaching platforms and professional teaching-resource databases. Its 169 titles in the catalog cover social sciences, popular science, medicine, management, examinations, and programming design. They include social-science and popular-science works such as Review of Social Research Methods (Vol. 1) and An Illustrated Guide to the Wildlife of Guangdong Grand Canyon (2 vols.), medical humanities titles such as The Cell Renegade and Fatal Redemption, and management and technical textbooks such as Brand Operations and Planning, Digital Electronic Technology (2nd ed.), C# Programming and WinForms Basics, and Data Cleaning Techniques and Applications. Contributors include Zhao Lianfei, Zhao Feng, Hou Yu, Chen Zhe, Peng Meiqian, and Wang Jingping, as well as institutions such as the Guangdong Ruyuan Grand Canyon Provincial Nature Reserve Management Office and Guangzhou Caomufan Environmental Technology Co., Ltd. Owing to limited public information, its publishing profile is best seen as running across academic reviews, nature guides, medical popularization, and information-technology textbooks.

Contents

  1. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 SpringBoot入门
  5. 1.1 SpringBoot描述
  6. 1.1.1 SpringBoot的诞生
  7. 1.1.2 什么是Spring Boot
  8. 1.1.3 SpringBoot的优点
  9. 1.2 SpringBootHelloWord
  10. 1.2.1 Maven工程的搭建
  11. 1.2.2 POM配置文件的编写
  12. 1.2.3 主启动类的配置
  13. 1.3 Spring Boot快速构建插件
  14. 1.4 启动类源码探究
  15. 1.4.1 @SpringBootApplication源码
  16. 1.4.2 @EnableAutoConfiguration注解
  17. 1.4.3 @SpringBootConfiguration
  18. 1.4.4 @ComponentScan
  19. 第2章 SpringBoot配置文件
  20. 2.1 Properties文件和YAML文件
  21. 2.1.1 配置环境属性
  22. 2.2 生产/测试/开发环境的区分
  23. 2.3 类型安全的配置属性
  24. 2.4 属性占位符
  25. 第3章 自动配置原理
  26. 3.1 外部配置加载顺序
  27. 3.2 注解@EnableAutoConfiguration自动配置原理
  28. 3.3 自动配置类
  29. 3.4 Starter源码解析
  30. 3.5 自定义starter的实现
  31. 3.5.1 系统启动器
  32. 3.5.2 自定义starter系统启动器
  33. 3.5.3 实现Starter系统启动器
  34. 第4章 Web自动装配
  35. 4.1 嵌入式ServletWeb容器
  36. 4.2 集成原生Filter和Listener
  37. 4.2.1 原生方式
  38. 4.2.2 使用@ServletComponentScan注解
  39. 4.3 自定义Jackson ObjectMapper
  40. 4.4 自定义@ResponseBody渲染
  41. 4.4.1 @RestController的作用
  42. 4.5 SpringMVC自动配置原理
  43. 4.6 自定义ViewResolver
  44. 4.6.1 实现自定义视图
  45. 第5章 SpringBoot日志
  46. 5.1 日志描述
  47. 5.1.1 SLF4J日志门面
  48. 5.1.2 日志实现框架
  49. 5.2 配置Logback和Log4j
  50. 5.2.1 SpringBoot日志解析
  51. 5.3 文件输出
  52. 5.4 自定义日志配置
  53. 第6章 thymeleaf视图模板
  54. 6.1 Thymeleaf简介
  55. 6.2 thymeleaf基本语法
  56. 6.3 Thymeleaf表达式语法
  57. 6.4 Thymeleaf实例
  58. 第7章 国际化&拦截器
  59. 7.1 国际化的资源
  60. 7.1.1 源码解析
  61. 7.2 设置国际化
  62. 7.2.1 按钮点击设置国际化
  63. 7.3 拦截器描述
  64. 7.4 拦截器
  65. 7.4.1 自定义一个拦截器
  66. 第8章 WebMVC实操案例
  67. 8.1 异常信息原理
  68. 8.2 制定错误的json数据
  69. 8.3 错误处理映射
  70. 8.4 登录实操案例
  71. 8.5 SpringBootActuator监控
  72. 8.5.1 Actuator的自动配置及原理
  73. 8.5.2 Actuator与SpringBoot整合
  74. 第9章 Druid&配置数据源CRUD
  75. 9.1 JDBC&自动配置原理
  76. 9.1.1 原理
  77. 9.2 整合Druid连接池
  78. 9.2.1 开启监控功能
  79. 9.3 Mybatis基础环境搭建
  80. 9.4 注解版MyBatis
  81. 9.5 配置文件版MyBatis
  82. 9.6 MyBatis-Plus基础环境搭建
  83. 9.6.1 快速开始
  84. 9.7 MyBatis-Plus的CRUD
  85. 第10章 SpringBoot与安全框架
  86. 10.1 SpringSecurity安全框架的描述
  87. 10.1.1 执行原理
  88. 10.1.2 核心组件
  89. 10.2 登录&认证&授权
  90. 10.2.1 内存用户名密码认证
  91. 10.3 权限控制&注销
  92. 第11章 SpringBoot缓存开发
  93. 11.1 缓存工作原理
  94. 11.1.1 Cache的自动配置
  95. 11.1.2 默认Cache配置
  96. 11.2 @Cacheable
  97. 11.2.1 Cacheable案例
  98. 11.3 @CachePut&@CacheEvict
  99. 11.4 @Caching与@CacheConfig
  100. 第12章 SpringBoot整合RedisTemplat
  101. 12.1 Redis的安装与使用
  102. 12.1.1 安装Redis
  103. 12.1.2 Redi s的基本使用
  104. 12.1.3 Redi s的入门
  105. 12.2 Redis之Starts使用
  106. 12.3 RedisTemplat描述
  107. 12.3.1 使用默认的序列化机制
  108. 12.4 自定义CacheManager
  109. 第13章 SpringBoot消息队列
  110. 13.1 JMS&AMQP概述
  111. 13.2 RabbitMQ简介
  112. 13.3 RabbitMQ核心概念
  113. 13.4 RabbitMQ的安装与使用
  114. 13.4.1 RabbitMQ的安装
  115. 13.4.2 RabbitMQ的使用
  116. 第14章 Spring Boot任务
  117. 14.1 任务的描述
  118. 14.2 异步注解
  119. 14.3 定时注解
  120. 第15章 ElasticSearch检索
  121. 15.1 ElasticSearch描述
  122. 15.2 原理与应用
  123. 15.3 ElasticaSearch图像界面head插件
  124. 15.3.1 界面head插件
  125. 15.3.2 启动elasticsearch-head
  126. 15.3.3 设置跨域
  127. 15.4 ElasticSearch相关概念
  128. 15.5 ElasticSearch Hello word
  129. 15.5.1 Postman工具的使用
  130. 15.5.2 设置mapping
  131. 15.5.3 删除索引库
  132. 15.5.4 创建Document
  133. 15.5.5 删除Document
  134. 15.5.6 修改Document
  135. 第16章 检索分词器
  136. 16.1 分词器描述
  137. 16.2 IK分词器描述
  138. 16.3 ElasticSearch 整合IK分词器
  139. 16.3.1 使用ElasticSearch测试IK分词器
  140. 16.3.2 查询term
  141. 16.3.3 自定义
  142. 16.4 ElasticSearch集群逻辑概念
  143. 16.4.1 集群的搭建
  144. 16.4.2 集群的测试
  145. 第17章 检索实战篇
  146. 17.1 创建索引库
  147. 17.1.1 Java客户端设置mapping
  148. 17.2 添加文档&查询搜索&分页与高亮显示
  149. 17.3 条件查询
  150. 17.4 SpringBoot整合ElasticSearch

FAQ

Which Spring Boot release is this book based on?
The book is primarily based on Spring Boot 2.3.x, with some important updates from 2.4.x also covered; version differences are clearly noted in the text.
Does the book include complete project case studies?
The book uses a modular case-study approach: each core technical point is accompanied by independently runnable sample code, and Chapter 12 provides an integrated e-commerce platform microservice demonstration project.
What distinguishes this book from other Spring Boot books?
This book focuses more on sharing practical experience in enterprise-level scenarios, with in-depth discussion of distributed systems, performance optimization, and production deployment in particular—this is its core value compared with introductory tutorials.

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

马权 Author

Ma Quan — publicly available information about this author is limited, and his writing direction can only be inferred from the three works held in the collection. His books include SpringBoot Enterprise Application Development, MyBatis Framework Technology, and Oracle Database Application Development, all falling under programming design and general computer science. Their topics center on the frameworks and database technologies commonly used in enterprise application development. Judging from these titles, he focuses on development tools and persistence frameworks within the Java ecosystem, and also values the application of relational databases in real projects. His writing tends toward technical practice and structured knowledge, aimed at developers and learners who need to study these technologies systematically. Together, the three works reflect an engineering-oriented approach organized by technical topic, making it convenient for readers to consult and learn by framework or database direction.

Chen Hui Author · Chinese · 1978

Chen Hui, born in 1978 in Rugao, Jiangsu, now lives in Yuyao, Zhejiang. Known as a "vegetable-market woman writer" because she has long worked as a market vendor while writing, she began writing in 2010 and published her first essay collection in 2018. She has since released several books, including In the Market, in the World and Where There Are Flowers, recording the everyday lives of ordinary urban people in a sincere, understated style drawn from the people and events around her. Eleven of her titles are held in the collection, spanning essays, medicine, foreign literature, biography and management, among them a work on classical pediatric texts, a biography of Churchill's mother, and a study of online brand communities. Public information about her education, awards and personal history is limited, so no further details are given here.

More by the same author

Top rated in the same category