没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
内容概要:本书《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
- 粉丝: 69
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Android逆向解密“.jsc”文件的工具 安卓逆向中解密.jsc文件的工具.zip
- Android视图动画和属性动画集锦.zip
- android版用户登录.zip
- Android带有尖角气泡的控件(TextView,ImageView,EditText,Layout),支持渐变颜色,圆角等自定义属性.zip
- Android安卓http,https一句代码联网络框架net framework.zip
- android大作业-安卓音乐播放器.zip
- Android原生计步传感器实现安卓计步功能,记录当日步数(仿微信运动).zip
- Android内置键盘开发,信用卡日期逻辑editext雏形.zip
- Android 文件选择器 , 安卓文件选择器.zip
- android 安卓 倒计时自定义控件.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功