没有合适的资源?快使用搜索试试~ 我知道了~
首页Spring Boot实战指南:提升企业应用开发效率
"《Pro Spring Boot》是由Spring专家顾问Felipe Gutierrez编著的一本权威实战指南,旨在提升基于Spring框架的企业Java应用和云计算应用的生产力,同时减少开发时间。该书强调实践性和实用性,通过贯穿全书的案例研究,帮助读者理解如何更有效地利用Spring Boot工具套件。 Spring Boot的核心理念在于简化开发过程,使得创建独立、生产级别的Spring应用程序变得轻松,只需极少的Spring配置即可运行。它提供了诸如嵌入式服务器、安全、度量、健康检查和外部化配置等常见的非功能性特性的快速启动体验,无需代码生成或XML配置的要求,极大地提高了开发效率。 书中深入探讨了如何在实际项目中应用Spring Boot的最佳实践,包括微服务架构中的应用,让读者能够无障碍地构建复杂的应用,而无需过多关注配置细节。通过一系列精心设计的案例研究,作者展示了如何充分利用Spring Boot工具,并将其融入到日常开发流程中。 《Pro Spring Boot》不仅适合现有Spring开发者升级技能,也适合新入行者快速掌握Spring Boot框架。无论你是想要提高开发速度,还是希望更好地理解Spring Boot的工作原理和实际应用场景,这本书都是不可或缺的参考资料。版权信息表明,所有权利受到保护,仅允许在学术分析或特定计算机系统输入目的下进行短篇摘录。"
资源详情
资源推荐
xv
About the Technical Reviewer
Manuel Jordan Elera is an autodidactic developer and researcher who
enjoys learning new technologies for his own experiments and creating
new integrations.
Manuel won the 2010 Springy Award—Community Champion and
Spring Champion 2013. In his little free time, he reads the Bible and
composes music on his guitar. Manuel is known as dr_pompeii .
He has tech reviewed numerous books for Apress, including Pro Spring,
4th Edition (2014), Practical Spring LDAP (2013), Pro JPA 2, Second Edition
(2013), and Pro Spring Security (2013).
Read his 13 detailed tutorials about many Spring technologies and contact
him through his blog at
http://www.manueljordanelera.blogspot.com
or follow him on his Twitter account at @dr_pompeii .
xvii
Acknowledgments
I would like to express all my gratitude to the Apress team—to Steve Anglin for accepting my proposal; to
Mark Powers for keeping me on track and for his patience with me; to Matthew Moodie and the rest of the
Apress team involved in this project. Thanks to everybody for making this possible.
Thanks to my technical reviewer, Manuel Jordan, for all the details and effort in his reviews, and the
entire Spring Boot team for creating this amazing technology.
Thanks to my parents, Rocio Cruz and Felipe Gutierrez, for all their love and support. Thanks to my
brother Edgar Gerardo Gutierrez. Special thanks to my girls who keep me on track: Norma, Nayely my
“Flaca,” and Ximena my “Gallito”. I love you girls!
—Felipe Gutierrez
1
© Felipe Gutierrez 2016
F. Gutierrez, Pro Spring Boot, DOI 10.1007/978-1-4842-1431-2_1
CHAPTER 1
Introduction to Spring Boot
It has been almost 13 years since the first beta release of the Spring Framework, which proved that you could
create Java Enterprise applications without the complicated architecture that Sun Microsystems exposed to
the world with the release of J2EE.
The Spring Framework was released as an open source project and was accepted well. It became
the best open source framework for creating enterprise applications in a fast, reliable, and elegant way by
promoting the use of design patterns and becoming one of the first frameworks to use the Dependency of
Injection pattern. The Spring Framework has won a lot of awards in the open source community and keeps
up to date by creating new features and embracing new technologies. This helps developers focus only on
the application business-logic and leave the heavy lifting to the Spring Framework.
This chapter introduces the Spring Boot technology and gives you a very small taste of what it is and
what you can do with it. You will learn about all its features and the associated “how-tos” during the course
of the book. Let’s get started.
Spring Boot
I can easily say that Spring Boot is the next chapter of the Spring Framework. Don’t get me wrong, though;
Spring Boot won’t replace the Spring Framework. That’s because Spring Boot is the Spring Framework! You
can view Spring Boot as a new way to create Spring applications with ease.
Spring Boot simplifies the way you develop, because it makes it easy to create production-ready
Spring-based applications that you can just run . You will find out that, with Spring Boot, you can create
standalone applications that use an embedded server, making them 100% runnable applications. I will talk
about this in several chapters of the book. One of its best features is that Spring Boot is an “opinionated”
technology in that it will help you follow the best practices for creating robust, extensible, and scalable
Spring applications.
You can find the Spring Boot project at
http://projects.spring.io/spring-boot/ and very extensive
documentation at
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/ . You can
see the Spring Boot home page in Figure
1-1 .
Electronic supplementary material The online version of this chapter (doi: 10.1007/978-1-4842-1431-2_1 )
contains supplementary material, which is available to authorized users.
CHAPTER 1 ■ INTRODUCTION TO SPRING BOOT
2
Spring Applications
If you are a Spring developer like me, you already know that in order to create a simple Spring web
application, you must follow certain rules of the J2EE stack and some of the Spring Framework. Those rules
include the following:
Create a folder structure that contains your WAR (Web ARchive):
• It must contain a WEB-INF folder with lib and classes subfolders that contain the
third-party libraries and your web application classes, respectively.
• Some JSP (if needed), HTML, CSS, images, and JavaScript (if needed) files.
• A file named web.xml that will contain the Spring org.springframework.web.
servlet.DispatcherServlet class.
• Your Spring beans in the form <servlet-name>-servlet.xml (of course, you can
override this and add the complete location and name of your Spring beans).
Figure 1-1. Spring Boot home page ( http://projects.spring.io/spring-boot/ )
剩余372页未读,继续阅读
vanridin
- 粉丝: 108
- 资源: 1191
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 京瓷TASKalfa系列维修手册:安全与操作指南
- 小波变换在视频压缩中的应用
- Microsoft OfficeXP详解:WordXP、ExcelXP和PowerPointXP
- 雀巢在线媒介投放策划:门户网站与广告效果分析
- 用友NC-V56供应链功能升级详解(84页)
- 计算机病毒与防御策略探索
- 企业网NAT技术实践:2022年部署互联网出口策略
- 软件测试面试必备:概念、原则与常见问题解析
- 2022年Windows IIS服务器内外网配置详解与Serv-U FTP服务器安装
- 中国联通:企业级ICT转型与创新实践
- C#图形图像编程深入解析:GDI+与多媒体应用
- Xilinx AXI Interconnect v2.1用户指南
- DIY编程电缆全攻略:接口类型与自制指南
- 电脑维护与硬盘数据恢复指南
- 计算机网络技术专业剖析:人才培养与改革
- 量化多因子指数增强策略:微观视角的实证分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功