上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: 三、容器中的Bean 阅读全文
posted @ 2017-08-03 16:51 丶theDawn 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 二、Spring容器使用 1.Spring容器 (1)Spring容器最基本的接口就是BeanFactory接口。BeanFactory负责配置、创建、管理Bean,同时也管理Bean与Bean之间的依赖关系; (2)BeanFactory包含的方法: (3)同时加载多个配置文件时,使用BeanFa 阅读全文
posted @ 2017-08-03 16:50 丶theDawn 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 一、依赖注入 1.依赖注入的理解 (1)A对象需要调用B对象方法,称A对象依赖B对象; (2)依赖注入通常有两种,即设值注入和构造注入; 2.设值注入 (1)Bean与Bean之间的依赖关系由Spring管理,Spring采用setter方法为目标Bean注入所以来的Bean这种方式被称为依赖注入; 阅读全文
posted @ 2017-08-03 16:50 丶theDawn 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 十六、事件机制 阅读全文
posted @ 2017-08-03 16:49 丶theDawn 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 十五、二级缓存和查询缓存 阅读全文
posted @ 2017-08-03 16:48 丶theDawn 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 十四、事务控制 阅读全文
posted @ 2017-08-03 16:48 丶theDawn 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 十二、SQL查询 阅读全文
posted @ 2017-08-03 16:47 丶theDawn 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 十三、数据过滤 阅读全文
posted @ 2017-08-03 16:47 丶theDawn 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 十一、条件查询 阅读全文
posted @ 2017-08-03 16:46 丶theDawn 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 九、批量处理 阅读全文
posted @ 2017-08-03 16:45 丶theDawn 阅读(93) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页