spring
共 3 篇文章
使用 Spring 2.5 注释驱动的 IoC 功能
http://www.ibm.com/developerworks/cn/java/j-lo-spring25-ioc/
2010-04-06 21:48 · spring · Java · J# · Spring · IBM · IOC
spring学习笔记
spring学习笔记 1.XML里配置bean的scope,一般常用的singleton(默认)和prototype(原型)。 singleton对应一个对象实例,单例;prototype对应多个对象实例。 2.By default, classes annotated with** @Component, @Repository, @Service, or @Controller **are the only detected candidate components.(是唯一会被检测到的候选组件)。 3.@Resource(重要) a)加入:j2ee/common-annotations…
2010-03-15 00:13 · spring · Spring · XML · prototype · AOP · Bean