随笔分类 -  struts2(1)+Hibernate+spring框架

SSH框架学习心得分享
摘要:AOP的实现有两种,一种是接口的实现,一种是产生自己实现,分别的代表为JDK的Proxy和CGLIB的Proxy下面是模拟接口代理实现 ,通过模拟JDK的动态代理,更深刻的理解通过动态代理可以面向切面编程1 定义被代理的对象和接口Java代码publicinterfaceBookInterface{... 阅读全文
posted @ 2016-01-08 09:48 烟-波-天-客 阅读(339) 评论(0) 推荐(0)
摘要:一:Spring中的几种容器都支持使用xml装配bean,包括: XmlBeanFactory , ClassPathXmlApplicationContext , FileSystemXmlApplicationContext , XmlWebApplicationContext加载这些容... 阅读全文
posted @ 2016-01-08 09:37 烟-波-天-客 阅读(2988) 评论(0) 推荐(0)
摘要:对Acl的支持目录1.1准备工作1.2表功能介绍1.2.1表acl_sid1.2.2表acl_class1.2.3表acl_object_identity1.2.4表acl_entry1.3Acl主要接口1.4配置AclService1.4.1配置DataSource1.4.2配置LookupStr... 阅读全文
posted @ 2016-01-08 08:52 烟-波-天-客 阅读(2641) 评论(0) 推荐(0)
摘要:关键字: spring, hibernate, struts的常用面试题Spring,hibernate,struts的面试笔试题(含答案) Hibernate工作原理及为什么要用? 原理: 1.读取并解析配置文件 2.读取并解析映射信息,创建SessionFactory 3.打开Sesssion ... 阅读全文
posted @ 2015-12-29 22:04 烟-波-天-客 阅读(444) 评论(0) 推荐(0)