Spring的配置方式及Spring相關框架的常用註解

三種配置方式:http://www.javashuo.com/article/p-wrybtzca-n.html   Spring @Component:一個泛化的概念,表示一個組件(Bean),可作用在任何層次 @Controller:用於對Controller實現類進行標註,目前該功能與Component相同 @Repository:用於對DAO實現類進行標註 @Service:用於對Serv
相關文章
相關標籤/搜索