没有合适的资源?快使用搜索试试~ 我知道了~
首页Spring 4th版:革新企业Java开发的里程碑
Spring 4th版:革新企业Java开发的里程碑
需积分: 10 5 下载量 167 浏览量
更新于2024-07-19
收藏 5.97MB PDF 举报
《Spring in Action 第四版》是一本关于Java企业开发领域的经典指南,自十几年前Spring框架诞生以来,它一直致力于简化企业级Java开发,挑战并革新了当时复杂的重型编程模型,提倡基于简单Java对象的轻量级编程范式。Spring框架已经成为无数Java项目的事实标准,对一些原本要替代的技术规格和框架产生了深远影响,如EJB规范。 该书第四版深入介绍了Spring 4的新特性,延续了前三版备受赞誉的传统,提供了清晰的概念解释和易于理解的实例,无论是初学者还是经验丰富的开发者都能从中获益。作者Craig Walls以其特有的幽默感和丰富的技术智慧,使复杂的Spring概念变得通俗易懂,使得读者在使用Spring时不仅能够掌握基础知识,还能领略到其创新特性的魅力。 书中覆盖了Spring的广泛内容,从基础原理到高级应用,帮助读者全面理解和掌握Spring框架的各项功能。无论是在构建企业应用、处理事务管理、依赖注入,还是与RESTful服务、Spring Boot等现代技术结合,Spring in Action都为读者提供了扎实的指导。它不仅是桌面上必备的技术书籍,而且是提高Java开发者生产力的有力工具。 《Spring in Action 第四版》适合所有层次的开发者阅读,无论是希望通过Spring提升效率的Java开发者,还是想要了解Spring如何影响整个Java生态系统的研究者,都将在这本书中找到所需的知识和灵感。这是一本既能满足学习需求又能提供实践指导的Spring权威指南,是每个Java开发者成长路上不可或缺的参考资料。
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10326017/bg10.jpg)
CONTENTS xv
20
Managing Spring beans with JMX 523
20.1 Exporting Spring beans as MBeans 524
Exposing methods by name 527
■
Using interfaces to define
MBean operations and attributes 529
■
Working with
annotation-driven MBeans 530
■
Handling MBean
collisions 532
20.2 Remoting MBeans 533
Exposing remote MBeans 533
■
Accessing remote MBeans 534
Proxying MBeans 536
20.3 Handling notifications 537
Listening for notifications 538
20.4 Summary 539
21
Simplifying Spring development with Spring Boot 540
21.1 Introducing Spring Boot 541
Adding starter dependencies 541
■
Autoconfiguration 546
The Spring Boot CLI 546
■
The Actuator 547
21.2 Building an application with Spring Boot 547
Handling requests 550
■
Creating the view 552
Adding static artifacts 554
■
Persisting the data 555
Try it out 557
21.3 Going Groovy with the Spring Boot CLI 560
Writing a Groovy controller 560
■
Persisting with a Groovy
repository 563
■
Running the Spring Boot CLI 564
21.4 Gaining application insight with the Actuator 565
21.5 Summary 568
index 570
![](https://csdnimg.cn/release/download_crawler_static/10326017/bg11.jpg)
![](https://csdnimg.cn/release/download_crawler_static/10326017/bg12.jpg)
xvii
preface
The best keeps getting better. More than a dozen years ago, Spring entered the Java
development scene with the ambitious goal of simplifying enterprise Java develop-
ment. It challenged the heavyweight programming models of the time with a simpler
and lighter programming model based on plain old Java objects.
Now, several years and many releases later, we see that Spring has had a tremen-
dous impact on enterprise application development. It has become a de facto stan-
dard framework for countless Java projects and has had an impact on the evolution of
some of the specifications and frameworks that it originally set out to replace. It’d be
hard to deny that the current Enterprise JavaBeans (
EJB) specification may have
turned out very differently had Spring not challenged earlier versions of the
EJB spec.
But Spring itself continues to evolve and improve upon itself, always seeking to
make the difficult development tasks simpler and empower Java developers with inno-
vative features. Where Spring had first set out to challenge the status quo, Spring now
has leapt ahead and is paving trails in Java application development.
Therefore, it’s time for an updated edition of this book to expose the current state
of Spring. There’s so much that has happened in the past few years since the previous
edition of this book; it’d be impossible to cover everything in a single edition. Never-
theless, I still tried to pack this fourth edition of Spring in Action with as much as I could.
Here are just a few of the exciting new things that have been added in this edition:
■
An emphasis on Java-based Spring configuration with Java configuration
options available for almost every area of Spring development
■
Conditional configuration and profiles that make runtime decisions regarding
what Spring configuration should be used or ignored
![](https://csdnimg.cn/release/download_crawler_static/10326017/bg13.jpg)
PREFACExviii
■
Several enhancements and improvements to Spring MVC, especially with regard
to creating
REST services
■
Using Thymeleaf with Spring web applications as an alternative to JSP
■
Enabling Spring Security with Java-based configuration
■
Using Spring Data to automatically generate repository implementations at
runtime for
JPA, MongoDB, and Neo4j
■
Spring’s new declarative caching support
■
Asynchronous web messaging with WebSocket and STOMP
■
Spring Boot, a game-changing new approach to working with Spring
If you’re a seasoned Spring veteran, you’ll find that these new elements will become
valuable additions to your Spring toolkit. On the other hand, if you’re new to Spring,
you’ve picked a good time to learn Spring, and this book will help you get started.
This is, indeed, an exciting time to be working with Spring. It’s been a blast to
develop with Spring and write about it during the past 12 years. I can’t wait to see what
Spring does next!
![](https://csdnimg.cn/release/download_crawler_static/10326017/bg14.jpg)
xix
acknowledgments
Before this book goes to press, before it is bound, before it is boxed, before it is
shipped, and before you get your hands on it, there are many other hands that have
touched it along the way. Even if you have an eBook copy that didn’t go through that
process, there were numerous hands on the bits and bytes that you downloaded—
hands that edited it, reviewed it, typeset it, and proofread it. If it weren’t for all of
those hands, this book wouldn’t exist.
First, a big thank you to everyone at Manning for working hard, for their patience
when the writing wasn’t moving as fast as it should have, and for prodding me along to
get it done: Marjan Bace, Michael Stephens, Cynthia Kane, Andy Carroll, Benjamin
Berg, Alyson Brener, Dottie Marisco, Mary Piergies, Janet Vail, and many others
behind the scenes.
Getting feedback early and often is just as critical when writing a book as it is when
developing software. While the pages of this book were still in a very rough form, there
were several great reviewers who took the time to read the drafts and provide feedback
that helped shape the final product. Thanks to the following: Bob Casazza, Chaoho
Hsieh, Christophe Martini, Gregor Zurowski, James Wright, Jeelani Basha, Jens
Richter, Jonathan Thoms, Josh Hart, Karen Christenson, Mario Arias, Michael Roberts,
Paul Balogh, and Ricardo da Silva Lima. And special thanks to John Ryan for his thor-
ough technical review of the manuscript shortly before it went into production.
Of course, I want to thank my beautiful wife for enduring yet another writing proj-
ect and for her encouragement along the way. I love you more than you could possibly
ever know.
剩余625页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/c194307c89284182a498247786d96db4_qq_25527791.jpg!1)
Adventure1995
- 粉丝: 8
- 资源: 78
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- 计算机人脸表情动画技术发展综述
- 关系数据库的关键字搜索技术综述:模型、架构与未来趋势
- 迭代自适应逆滤波在语音情感识别中的应用
- 概念知识树在旅游领域智能分析中的应用
- 构建is-a层次与OWL本体集成:理论与算法
- 基于语义元的相似度计算方法研究:改进与有效性验证
- 网格梯度多密度聚类算法:去噪与高效聚类
- 网格服务工作流动态调度算法PGSWA研究
- 突发事件连锁反应网络模型与应急预警分析
- BA网络上的病毒营销与网站推广仿真研究
- 离散HSMM故障预测模型:有效提升系统状态预测
- 煤矿安全评价:信息融合与可拓理论的应用
- 多维度Petri网工作流模型MD_WFN:统一建模与应用研究
- 面向过程追踪的知识安全描述方法
- 基于收益的软件过程资源调度优化策略
- 多核环境下基于数据流Java的Web服务器优化实现提升性能
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)