项目主页:http://code.google.com/p/portal-basic 我的博客:http://www.cnblogs.com/ldcsaa
5.2.3 执行 ................................................................................................................. 70
5.2.4 处理结果 ......................................................................................................... 70
5.2.5 应用示例 ......................................................................................................... 70
6 应用篇(五)—— DAO 框架 .............................................................................................. 74
6.1 框架概述 ................................................................................................................. 74
6.2 Session Manager ..................................................................................................... 75
6.2.1 初始化 ............................................................................................................. 75
6.2.2 配置文件 ......................................................................................................... 76
6.3 DAO Facade ............................................................................................................ 78
6.4 DAO Facade Proxy ................................................................................................. 79
6.5 应用示例 ................................................................................................................. 82
6.5.1 准备工作 ......................................................................................................... 82
6.5.2 JDBC ............................................................................................................... 90
6.5.3 MyBatis ......................................................................................................... 100
6.5.4 Hibernate ....................................................................................................... 107
7 应用篇(六)—— 页面静态化 ......................................................................................... 113
7.1 查询示例 ............................................................................................................... 113
7.2 UrlRewrite 实现 URL 重写 .................................................................................. 118
7.3 EHCache-Web 实现页面缓存 .............................................................................. 122
8 应用篇(七)—— 整合模板引擎 ..................................................................................... 127
8.1 FreemarkerServlet 简介 ........................................................................................ 127
8.2 整合示例 ............................................................................................................... 128
9 应用篇(八)—— 多入口 Action ..................................................................................... 133
9.1 Action 配置 ........................................................................................................... 133
9.1.1 Action Entry .................................................................................................. 133
9.1.2 Action Filter .................................................................................................. 136
9.2 Action 使用 ........................................................................................................... 136
9.2.1 入口方法 ....................................................................................................... 136
9.2.2 @FormBean .................................................................................................. 137
9.3 应用示例 ............................................................................................................... 137
10 应用篇(九)—— 新 DAO 访问接口 ...................................................................... 142
10.1 FacadeProxy.create(...) 和 @Transaction ............................................................ 142
10.2 应用示例 ............................................................................................................... 143
10.3 DaoInjectFilter 和 @DaoBean / @DaoBeans ..................................................... 146
10.4 应用示例 ............................................................................................................... 147
11 应用篇(十)—— 整合 Spring ................................................................................ 151
11.1 Spring ApplicationContext 生命周期管理 ........................................................... 151
11.2 Portal-Basic MVC 子框架与 Spring 整合 ........................................................... 151
11.3 Portal-Basic DAO 子框架与 Spring 整合 ............................................................ 153
11.4 应用示例 ............................................................................................................... 154
12 应用篇(十一)—— Action Convention .................................................................... 160
12.1 Convention 配置 ................................................................................................... 161
12.2 Convention 推导规则 ........................................................................................... 163
12.3 Convention 注解 ................................................................................................... 165