摘要: ·非侵入式设计 ·方便解耦、简化开发 ·支持AOP ·支持声明式事务处理 ·方便程序测试 ·方便集成各种优秀框架 ·降低java EE API的使用难度 阅读全文
posted @ 2020-09-11 23:35 阿里云认证专家 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1.4.1依赖注入的实现方式 属性setter方法注入:指spring容器使用setter方法注入被依赖的实例。通过调用无参构造器或无参静态工厂方法实例化Bean后,调用该Bean的setter方法,即可实现基于setter方法的依赖注入 构造方法注入:指spring容器使用构造方法注入被依赖的实例 阅读全文
posted @ 2020-09-11 23:34 阿里云认证专家 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 安装过程中报错,如下图所示。 The specified TCP port is occupied by another service.Please stop that service or use another port.(指定tcp端口已被占用,请停止那个服务或是换一个端口使用) 开始看到这 阅读全文
posted @ 2020-09-11 11:39 阿里云认证专家 阅读(250) 评论(0) 推荐(0) 编辑