没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
内容概要:本书《Spring 6 Recipes》提供了一个基于问题-解决方案方法的Spring框架实用指南。书中介绍了如何利用Spring解决实际应用中的各种问题,涵盖了从基本的控制器设置到复杂的事务管理和数据访问等多个方面。例如,如何生成带有日期参数的报告,如何使用Spring MVC进行内容协商并返回不同格式的数据(如Excel、PDF),以及如何配置视图解析器等。 适合人群:对于希望提升Spring框架应用水平的企业级开发人员。 使用场景及目标:帮助企业开发者掌握Spring框架的实际应用场景和技术方案,提高项目开发效率和系统性能。 其他说明:本书不仅包含了具体的代码示例,还详细讲解了每一步的实现思路和最佳实践。
资源推荐
资源详情
资源评论
Spring
6
Recipes
A
Problem-Solution
Approach
to
Spring
Framework
Fifth
Edition
Marten
Deinum
Daniel
Rubio
Josh
Long
Apress
Spring
6
Recipes
A
Problem-Solution
Approach
to
Spring
Framework
Fifth
Edition
Marten
Deinum
Daniel
Rubio
Josh
Long
Apress
Spring
6
Recipes:
A
Problem-Solution
Approach
to
Spring
Framework
Marten
Deinum
Meppel,
Drenthe,
The
Netherlands
Daniel
Rubio
Ensenada,
Baja
California,
Mexico
Josh
Long
Canyon
Country,
CA,
USA
ISBN-13
(pbk):
978-1-4842-8648-7
ISBN-13
(electronic):
978-1-4842-8649-4
https://doi.org/10.1007/978-1-4842-8649-4
Copyright
©
2023
by
Marten
Deinum,
Daniel
Rubio,
Josh
Long
This
work
is
subject
to
copyright.
All
rights
are
reserved
by
the
Publisher,
whether
the
whole
or
part
of
the
material
is
concerned,
specifically
the
rights
of
translation,
reprinting,
reuse
of
illustrations,
recitation,
broadcasting,
reproduction
on
microfilms
or
in
any
other
physical
way,
and
transmission
or
information
storage
and
retrieval,
electronic
adaptation,
computer
software,
or
by
similar
or
dissimilar
methodology
now
known
or
hereafter
developed.
Trademarked
names,
logos,
and
images
may
appear
in
this
book.
Rather
than
use
a
trademark
symbol
with
every
occurrence
of
a
trademarked
name,
logo,
or
image
we
use
the
names,
logos,
and
images
only
in
an
editorial
fashion
and
to
the
benefit
of
the
trademark
owner,
with
no
intention
of
infringement
of
the
trademark.
The
use
in
this
publication
of
trade
names,
trademarks,
service
marks,
and
similar
terms,
even
if
they
are
not
identified
as
such,
is
not
to
be
taken
as
an
expression
of
opinion
as
to
whether
or
not
they
are
subject
to
proprietary
rights.
While
the
advice
and
information
in
this
book
are
believed
to
be
true
and
accurate
at
the
date
of
publication,
neither
the
authors
nor
the
editors
nor
the
publisher
can
accept
any
legal
responsibility
for
any
errors
or
omissions
that
may
be
made.
The
publisher
makes
no
warranty,
express
or
implied,
with
respect
to
the
material
contained
herein.
Managing
Director,
Apress
Media
LLC:
Welmoed
Spahr
Acquisitions
Editor:
Steve
Anglin
Development
Editor:
Laura
Berendson
Coordinating
Editor:
Mark
Powers
Cover
designed
by
eStudioCalamar
Cover
image
by
Yoksel
Zok
on
Unsplash
(
www.unsplash.com
)
Distributed
to
the
book
trade
worldwide
by
Apress
Media,
LLC,
1
New
York
Plaza,
New
York,
NY
10004,
U.S.A.
Phone
1-800-SPRINGER,
fax
(201)
348-4505,
e-mail
orders-ny@springer-sbm.com
,
or
visit
www.springeronline.com
.
Apress
Media,
LLC
is
a
California
LLC
and
the
sole
member
(owner)
is
Springer
Science
+
Business
Media
Finance
Inc
(SSBM
Finance
Inc).
SSBM
Finance
Inc
is
a
Delaware
corporation.
For
information
on
translations,
please
e-mail
booktranslations@springernature.com
;
for
reprint,
paperback,
or
audio
rights,
please
e-mail
bookpermissions@springernature.com
.
Apress
titles
may
be
purchased
in
bulk
for
academic,
corporate,
or
promotional
use.
eBook
versions
and
licenses
are
also
available
for
most
titles.
For
more
information,
reference
our
Print
and
eBook
Bulk
Sales
web
page
at
http://www.apress.com/bulk-sales
.
Any
source
code
or
other
supplementary
material
referenced
by
the
author
in
this
book
is
available
to
readers
on
GitHub
(
https://github.com/Apress
).
For
more
detailed
information,
please
visit
http://www.
apress.com/source-code
.
Printed
on
acid-free
paper
Table
of
Contents
About
the
Authors
...........................................................................................
xxiii
About
the
Technical
Reviewer
..........................................................................
xxv
Acknowledgments
.........................................................................................
xxvii
Introduction
...................................................................................................
xxix
■
Chapter
1:
Spring
Core
Tasks
...........................................................................
1
1-1.
Using
Java
Config
to
Configure
POJOs
...........................................................
1
Problem
..............................................................................................................................
1
Solution
...............................................................................................................................
1
How
It
Works
2
1-2.
Create
POJOs
by
Invoking
a
Constructor
.........................................................
8
Problem
..............................................................................................................................
8
Solution
...............................................................................................................................
8
How
It
Works
9
1-3.
Use
POJO
References
and
Autowiring
to
Interact
with
Other
POJOs
...................
11
Problem
.............................................................................................................................
11
Solution
..............................................................................................................................
12
How
It
Works
.......................................................................................................................
12
1-4.
Autowire
POJOs
with
the
@Resource
and
@Inject
Annotations
........................
19
Problem
.............................................................................................................................
19
Solution
..............................................................................................................................
19
How
It
Works
.......................................................................................................................
19
iii
■
TABLE
OF
CONTENTS
1-5.
Set
a
POJO
’
s
Scope
with
the
@Scope
Annotation
...........................................
21
Problem
.............................................................................................................................
21
Solution
..............................................................................................................................
21
How
It
Works
.......................................................................................................................
22
1-6.
Use
Data
from
External
Resources
(Text
Files,
XML
Files,
Properties
Files,
or
Image
Files)
.................................................................................................
24
Problem
.............................................................................................................................
24
Solution
..............................................................................................................................
25
How
It
Works
.......................................................................................................................
25
1-7.
Resolve
I18N
Text
Messages
for
Different
Locales
in
Properties
Files
................
29
Problem
.............................................................................................................................
29
Solution
..............................................................................................................................
30
How
It
Works
.......................................................................................................................
30
1-8.
Customize
POJO
Initialization
and
Destruction
with
Annotations
.......................
32
Problem
.............................................................................................................................
32
Solution
..............................................................................................................................
32
How
It
Works
.......................................................................................................................
32
1-9.
Create
Post-processors
to
Validate
and
Modify
POJOs
.....................................
36
Problem
.............................................................................................................................
36
Solution
..............................................................................................................................
36
How
It
Works
.......................................................................................................................
36
1-10.
Create
POJOs
with
a
Factory
(Static
Method,
Instance
Method,
Spring
’
s
FactoryBean)
...................................................................................................
38
Problem
.............................................................................................................................
38
Solution
..............................................................................................................................
38
How
It
Works
.......................................................................................................................
38
1-11.
Use
Spring
Environments
and
Profiles
to
Load
Different
Sets
of
POJOs
...........
43
Problem
.............................................................................................................................
43
Solution
..............................................................................................................................
43
How
It
Works
.......................................................................................................................
43
iv
剩余773页未读,继续阅读
资源评论
小DuDu
- 粉丝: 67
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python PyCharm软件
- (承前)python外星人入侵游戏-千年隼浩/纯净版代码
- 自动驾驶汽车、自动驾驶出租车以及城市交通革命
- 学习日志021-对话框
- 昆虫检测38-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
- 比较完整的 c++ 控制台 RPG游戏
- 昆虫检测37-YOLOv9、COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
- 功能测试学习xmind版本
- 基于层级优化控制策略的风电储能系统频率支持与荷电状态恢复-可复现的论文-有问题请联系博主,博主会第一时间回复!!!
- 昆虫检测36-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功