• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

子把瓢总

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2014年12月15日

Spring学习笔记之模块简介

摘要: 1、Core Container(Application context) module 这个是Spring最基本的模块,它提供了spring框架最基本的功能。BeanFactory 是任何基于Spring应用的核心(心脏),Spring 框架 就是建立在这个模块之上,也是这个模块创立 了Spring Container 2、BeanFactory BeanFactory是一个工厂模式的实现,它利... 阅读全文

posted @ 2014-12-15 15:00 子把瓢总 阅读(127) 评论(0) 推荐(0)

Spring学习笔记之Constructor-based or setter-based DI?

摘要: 如果是强制依赖,那么使用构造器注入,如果是可选依赖,那么使用set方法注入。Spring鼓励构造器注入,可以确保依赖项不为null, Since you can mix constructor-based and setter-based DI, it is a good rule of thumb to use constructors for mandatory dependencies an... 阅读全文

posted @ 2014-12-15 13:23 子把瓢总 阅读(427) 评论(0) 推荐(0)

Spring学习笔记之整合hibernate

摘要: 1、web.xml里边要配置好对应的springxml的路径 contextConfigLocation conf/kernel/spring_kernel/spring-*.xml, conf/business/spring_business/spring-*.xml, conf/cust... 阅读全文

posted @ 2014-12-15 10:41 子把瓢总 阅读(237) 评论(0) 推荐(0)

Spring学习笔记之整合struts

摘要: 1、现有项目是通过 这样整合的 2、DelegatingActionProxy 英语中 delegate 是被推选出代表人(是一个团体的代... 阅读全文

posted @ 2014-12-15 10:12 子把瓢总 阅读(308) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3