- 0
- 0
- 约3.75千字
- 约 32页
- 2018-12-29 发布于福建
- 举报
第7jsf应用课堂精简
Java EE应用技术基础 济南大学信息学院 刘鹍 liukun@ 回顾:Struts 2应用 Struts 2开发流程: 2个XML+Action类+JSP页面+JavaBean 校验器: validate方法或者XML校验器 注意:命名+位置 拦截器: struts.xml配置 拦截器类(继承AbstractInterceptor ,重写intercept方法) 国际化: perties 相应语言的properties文件(*_zh _CN.properties或*_en _US.properties) 位置+命名 回顾:Hibernate应用 Hibernate开发步骤: (1)创建Hibernate的配置文件、创建SessionFactory类。 (2)创建持久化类。 (3)创建对象-关系映射文件。 (4)通过Hibernate API编写访问数据库的代码。 回顾:Spring应用 依赖注入 工厂模式 依赖注入的两种方式 Spring主要接口 BeanFactory、 ApplicationContext Spring配置文件 applicationContext.xml配置文件 Spring AOP Advice(5种类型-around、before、after、throw、introduction) Pointcut(时机) Spring事务 4种声明式事务管理
原创力文档

文档评论(0)