摘要: Spring部分 1.声明bean的注解@Component 组件,没有明确的角色@Service 在业务逻辑层使用(service层)@Repository 在数据访问层使用(dao层)@Controller 在展现层使用,控制器的声明(C) 2.注入bean的注解@Autowired:由Spri 阅读全文
posted @ 2020-03-13 09:42 木不识丁 阅读(443) 评论(0) 推荐(0) 编辑