
Spring
文章平均质量分 91
HingKwan
厦门,Java开发
展开
-
Spring中Bean的作用域
Bean的作用域Bean的作用域定义了Bean的生命周期,在Spring中,一共定义了5种作用域,分别是singleton、prototype、request、session和globalSession。其中,后3种仅对Web应用程序有效。Singleton作用域如果不指定scope,默认值即为scope="singleton"。spring的IoC容器仅为每个Bean创建一个原创 2012-07-11 15:00:23 · 1002 阅读 · 0 评论 -
spring3.1.x源码编译并导入eclipse
spring3.1.x源码编译并导入eclipse最近在学习spring的时候想将源码编译下,然后呢就去网上找找方法。参考了以下内容:http://blog.springsource.com/2009/03/03/building-spring-3/http://zachary-guo.iteye.com/blog/661839http://blog.sina.com.cn/s/b原创 2013-08-24 00:17:09 · 3914 阅读 · 3 评论