随笔分类 -  spring使用及原理

spring boot,spring mvc,spring framework等学习
spring源码解读第三篇----------------------------spring的循环依赖解决
摘要:获取bean操作的流程时先从一级缓存中获取,之后到二级缓存中获取,之后到三级缓存获取 (bean对象先是放到三级缓存中,之后从三级缓存中移除然后放到二级缓存中)三级缓存中存储的是一个key与lamada表达式,二级缓存存储的时一个key与未初始化的bean对象 注意到这个方法,实现循环依赖问题解决的 阅读全文

posted @ 2021-07-01 17:32 The羿 阅读(77) 评论(0) 推荐(0)

spring的jdk与cglib动态代理
摘要:参见:https://www.freesion.com/article/1047936362/ https://www.cnblogs.com/ronli/p/11437560.html https://yunfan.blog.csdn.net/article/details/102324348 h 阅读全文

posted @ 2021-05-28 10:51 The羿 阅读(23) 评论(0) 推荐(0)

spring事务的(只读事务的处理)
摘要:参见:https://blog.csdn.net/weixin_36326008/article/details/112636463 阅读全文

posted @ 2021-05-28 10:04 The羿 阅读(80) 评论(0) 推荐(0)

spring常见的事务失效情形
摘要:参见:https://www.cnblogs.com/javastack/p/12160464.html https://blog.csdn.net/a3961401/article/details/112547486 https://blog.csdn.net/hgffhh/article/det 阅读全文

posted @ 2021-05-27 23:55 The羿 阅读(33) 评论(0) 推荐(0)

spring中的aync注解的使用与事务操作
摘要:参见:https://blog.csdn.net/outsanding/article/details/111769978 阅读全文

posted @ 2021-05-26 17:34 The羿 阅读(169) 评论(0) 推荐(0)

spring当中的事务处理
摘要:参见:https://blog.csdn.net/love_moon821/article/details/97636715 阅读全文

posted @ 2021-05-13 16:40 The羿 阅读(31) 评论(0) 推荐(0)

restTemplate调用操作出现乱码
摘要:以上类配置操作需要实现编码配置操作,否会出现乱码问题 参见:https://blog.csdn.net/lisp1116/article/details/103426728 参见:https://cloud.tencent.com/developer/article/1656574 阅读全文

posted @ 2021-04-30 17:59 The羿 阅读(50) 评论(0) 推荐(0)

spring cloud feign和ribbon区别
摘要:参见:https://blog.csdn.net/u012960049/article/details/103581297 https://www.cnblogs.com/daijiting/p/11121064.html 阅读全文

posted @ 2021-02-18 11:05 The羿 阅读(44) 评论(0) 推荐(0)

spring cloud中jar包版本锁定的操作
摘要: 阅读全文

posted @ 2021-02-08 18:01 The羿 阅读(129) 评论(0) 推荐(0)

spring注解的使用
摘要:@Qualifier注解与@autowired一起使用,作用是限定bean按类型注入时的名称为@Qualifier所设置的 参见:https://blog.csdn.net/uotail/article/details/81805827 阅读全文

posted @ 2020-08-05 15:29 The羿 阅读(86) 评论(0) 推荐(0)

spring security阅读
摘要:nullable注解解释:https://www.cnblogs.com/zhilili/p/12202079.html 阅读全文

posted @ 2020-07-09 15:36 The羿 阅读(91) 评论(0) 推荐(0)

spring security基本使用
摘要:https://blog.csdn.net/fellhair/article/details/91410281 配置文件 https://blog.csdn.net/houysx/article/details/80380831 推荐从他开始 https://www.cnblogs.com/ying 阅读全文

posted @ 2020-05-07 18:11 The羿 阅读(127) 评论(0) 推荐(0)

spring boot中线程池的基本使用
摘要:参见:https://www.jb51.net/article/169415.htm @EnableAsync与@Async结合使用,会出现单独的开启一个线程池去执行标注有@Async的方法如果没有指定特定线程池就使用默认的SimpleAsyncTaskExecutor这个线程池 阅读全文

posted @ 2020-04-21 16:11 The羿 阅读(205) 评论(0) 推荐(0)

spring cloud中各个组件设置超时的详细解释
摘要:参见:https://blog.csdn.net/luanlouis/article/details/90724258 极为清晰的介绍了spring cloud中各个组件的超时设置 https://www.jb51.net/article/129343.htm 设置各种组件超时的方法 https:/ 阅读全文

posted @ 2020-04-19 22:43 The羿 阅读(187) 评论(0) 推荐(0)

spring cloud中Hystrix组件的基本使用
摘要:参见:Hystrix基本使用 阅读全文

posted @ 2020-04-19 21:57 The羿 阅读(136) 评论(0) 推荐(0)

spring cloud的feign调用与rest template+ribbon调用的使用方式
摘要:参见:https://blog.csdn.net/zhonglunsheng/article/details/89115792 基本的使用 https://www.jianshu.com/p/b5030c47ddcc 概念理解的补充 https://www.leiue.com/difference- 阅读全文

posted @ 2020-04-19 21:25 The羿 阅读(144) 评论(0) 推荐(0)

spring boot各个组件
摘要:参见:https://zhuanlan.zhihu.com/p/95696180?from_voters_page=true 阅读全文

posted @ 2020-04-19 19:42 The羿 阅读(1992) 评论(0) 推荐(0)

spring boot启动原理
摘要:参见:https://blog.csdn.net/chenpengjia006/article/details/81871792?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2&utm_s 阅读全文

posted @ 2020-04-19 18:12 The羿 阅读(105) 评论(0) 推荐(0)

spring boot常用的注解
摘要:补充: 在使用springcloud ribbon客户端负载均衡的时候,可以给RestTemplate bean 加一个@LoadBalanced注解,就能让这个RestTemplate在请求时拥有客户端负载均衡的能力: @Bean@LoadBalancedRestTemplate restTemp 阅读全文

posted @ 2020-04-19 11:17 The羿 阅读(80) 评论(0) 推荐(0)

spring中全局异常处理spring boot方式与xml配置方式
摘要:参见:https://www.cnblogs.com/zs-notes/p/9366066.html spring boot方式处理全局异常 阅读全文

posted @ 2020-04-19 09:35 The羿 阅读(260) 评论(0) 推荐(0)

导航