上一页 1 2 3 4 5 6 7 ··· 13 下一页

2022年3月13日

摘要: 整合mybatis需要导入的依赖: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope></dependency><depend 阅读全文
posted @ 2022-03-13 12:01 微笑阿凡达 阅读(36) 评论(0) 推荐(0)
摘要: 使用AOP植入,需要导入依赖包 <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver --><dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjwe 阅读全文
posted @ 2022-03-13 11:05 微笑阿凡达 阅读(45) 评论(0) 推荐(0)
摘要: 为什么要学习静态代理? //因为静态代理就是springAOP的底层 //代理模式:静态代理,动态代理 //静态代理 流程:1.接口 也就是图中的租房 2.真实角色 房东 3.代理角色 中介 4.客户端 我 优缺点: 第三步:动态生成代理类 阅读全文
posted @ 2022-03-13 10:46 微笑阿凡达 阅读(21) 评论(0) 推荐(0)
摘要: @configuration 就是一个配置类,和beans.xml是一样的 阅读全文
posted @ 2022-03-13 08:59 微笑阿凡达 阅读(22) 评论(0) 推荐(0)

2022年3月12日

摘要: 阅读全文
posted @ 2022-03-12 18:38 微笑阿凡达 阅读(14) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-03-12 17:55 微笑阿凡达 阅读(20) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-03-12 16:29 微笑阿凡达 阅读(11) 评论(0) 推荐(0)
摘要: 依赖: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst 阅读全文
posted @ 2022-03-12 16:23 微笑阿凡达 阅读(43) 评论(0) 推荐(0)
摘要: 依赖包: <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc --><dependency> <groupId>org.springframework</groupId> <artifactId>spri 阅读全文
posted @ 2022-03-12 15:42 微笑阿凡达 阅读(53) 评论(0) 推荐(0)
摘要: 默认是一级缓存 二级缓存: 自定义参数 全局缓存 阅读全文
posted @ 2022-03-12 14:45 微笑阿凡达 阅读(12) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 13 下一页