Spring的配置方式及Spring相关框架的常用注解

三种配置方式:http://www.javashuo.com/article/p-wrybtzca-n.html   Spring @Component:一个泛化的概念,表示一个组件(Bean),可作用在任何层次 @Controller:用于对Controller实现类进行标注,目前该功能与Component相同 @Repository:用于对DAO实现类进行标注 @Service:用于对Serv
相关文章
相关标签/搜索