上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 137 下一页
摘要: https://zhidao.baidu.com/question/584394281.html 阅读全文
posted @ 2020-09-18 15:52 尐鱼儿 阅读(156) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/huangxm/p/5736807.html 阅读全文
posted @ 2020-09-18 15:51 尐鱼儿 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 如图工厂类里的方法雷同,可以优化 BeanFactory类修改为如下 package com.baizhiedu.basic; import java.io.IOException; import java.io.InputStream; import java.util.Properties; p 阅读全文
posted @ 2020-08-29 12:26 尐鱼儿 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 图中这里仍然是耦合的 所以首先在BeanFactory类中新增方法getUserDAO() public static UserDAO getUserDAO(){ UserDAO userDAO = null; try { Class clazz = Class.forName(env.getPro 阅读全文
posted @ 2020-08-29 11:52 尐鱼儿 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 项目结构 完成项目后,只需修改applicationContext.properties文件里的值,就可以切换实现类。(例如从实现类UserServiceImpl,切换到UserServiceImplNew,只需按下图操作) 改变前的配置 改变前的输出 query User name = name 阅读全文
posted @ 2020-08-29 11:47 尐鱼儿 阅读(885) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/flyingeagle/articles/10229031.html https://blog.csdn.net/weixin_39209728/article/details/85853516 https://www.cnblogs.com/echo 阅读全文
posted @ 2020-08-29 10:03 尐鱼儿 阅读(102) 评论(0) 推荐(0) 编辑
摘要: https://mvnrepository.com/ 阅读全文
posted @ 2020-08-29 08:27 尐鱼儿 阅读(220) 评论(0) 推荐(0) 编辑
摘要: https://blog.51cto.com/sunpeng51/811243 阅读全文
posted @ 2020-08-27 17:35 尐鱼儿 阅读(381) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/122241071 阅读全文
posted @ 2020-08-27 17:34 尐鱼儿 阅读(1902) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/santtde/article/details/86765506 阅读全文
posted @ 2020-08-27 17:33 尐鱼儿 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 137 下一页