目录
Spring初探.........................................................................................................................................6
准备工作.........................................................................................................................................6
构建Spring基础代码....................................................................................................................7
Spring
基础语义...............................................................................................................................13
Dependency Injection
.................................................................................................................13
依赖注入的几种实现类型.........................................................................................................16
Type1
接口注入....................................................................................................................16
Type2
设值注入....................................................................................................................17
Type3
构造子注入................................................................................................................17
几种依赖注入模式的对比总结.............................................................................................17
Spring
Bean封装机制..................................................................................................................19
Bean
Wrapper............................................................................................................................19
Bean
Factory............................................................................................................................20
ApplicationContext.....................................................................................................................23
Web
Context..............................................................................................................................28
Spring
高级特性...............................................................................................................................29
Web应用与MVC...............................................................................................................................29
Spring
MVC................................................................................................................................30
Spring
MVC指南...................................................................................................................30
基于模板的Web表示层技术.................................................................................................44
Web应用中模板技术与JSP技术的对比...............................................................................49
输入验证与数据绑定............................................................................................................51
异常处理...............................................................................................................................62
国际化支持...........................................................................................................................64
WebWork2 &
Spring.......................................................................................................................68
Quick Start
.........................................................................................................................69
WebWork
高级特性................................................................................................................82
Action驱动模式...............................................................................................................82
XWork拦截器体系.............................................................................................................87
输入校验...........................................................................................................................93
国际化支持.....................................................................................................................107
Webwork2 in
Spring......................................................................................................110
Struts in
Spring.......................................................................................................................118
数据持久层..................................................................................................................................127
事务管理..................................................................................................................................127
持久层封装..............................................................................................................................131
JDBC.....................................................................................................................................131
Hibernate in Spring
........................................................................................................139
ibatis in
Spring..............................................................................................................146
Aspect Oriented
Programming..................................................................................................150
AOP概念...................................................................................................................................150
AOP in
Spring........................................................................................................................153