01 2018 档案

摘要:1. 每个线程有一个ThreadLocal对象; 2. 阅读全文
posted @ 2018-01-20 14:30 newlangwen 阅读(141) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/nullzx/p/4968674.html https://www.cnblogs.com/zouzz/p/6593748.html 阅读全文
posted @ 2018-01-19 07:37 newlangwen 阅读(159) 评论(0) 推荐(0)
摘要:1. 实现接口 HandlerExceptionResolver 捕获异常 2.@ExceptionHandler 在方法添加注解,捕获本地controller异常 3.@ControllerAdvice +@ExceptionHandler 共同作用实现捕获多个controller异常 阅读全文
posted @ 2018-01-16 19:45 newlangwen 阅读(134) 评论(0) 推荐(0)
摘要:spring Cache https://www.ibm.com/developerworks/cn/opensource/os-cn-spring-cache/ spring+redis 缓存 http://blog.csdn.net/defonds/article/details/4871616 阅读全文
posted @ 2018-01-16 09:14 newlangwen 阅读(163) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_39625809/article/details/80707695 什么叫事务传播行为?听起来挺高端的,其实很简单。 即然是传播,那么至少有两个东西,才可以发生传播。单体不存在传播这个行为。 事务传播行为(propagation behavi 阅读全文
posted @ 2018-01-15 18:41 newlangwen 阅读(164) 评论(0) 推荐(0)
摘要:配置Tomcat的session共享可以有三种解决方案: 第一种是以负载均衡服务器本身提供的session共享策略,每种服务期的配置是不一样的并且nginx本身是没有的。 第二种是利用web容器本身的session共享策略来配置共享。针对于weblogic这种方式还是靠普的。但是针对于tomcat这 阅读全文
posted @ 2018-01-12 10:53 newlangwen 阅读(168) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/zsmissyou/article/details/52913441 https://blog.csdn.net/qq_42815754/article/details/82912130 阅读全文
posted @ 2018-01-05 16:08 newlangwen 阅读(100) 评论(0) 推荐(0)