摘要: Spring部分: 1、声明bean的注解: @Component:组件,没有明确的角色 @Service:在业务逻辑层使用(service层) @Repository:在数据访问层使用(dao层) @Controller:在展现层使用,控制器的声明(Controller) 2、注入bean的注解: 阅读全文
posted @ 2019-06-08 14:04 Diamond-Shine 阅读(2298) 评论(0) 推荐(0) 编辑