ssslinppp

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 7 8 9 10 ··· 28 下一页

2017年11月10日

摘要: TOC [[_TOC_]] 依赖 fastxml "Jackson JSON Tutorial" "Do JSON with Jackson.pdf 很详细" Creating Java List from JSON Array String Creating Java Map from JSON 阅读全文
posted @ 2017-11-10 23:50 ssslinppp 阅读(763) 评论(0) 推荐(1) 编辑

2017年11月8日

摘要: 概述 Session用于保存用户信息,通常一个Session保存一个用户信息,在以Tomcat为Servlet Container的web应用中,用户信息都保存在HttpSession中; 当用户发起请求时,都会将SessionId传递过来,服务器根据传递的SessionId就可以找到对应的Sess 阅读全文
posted @ 2017-11-08 15:53 ssslinppp 阅读(1914) 评论(0) 推荐(0) 编辑

2017年10月21日

摘要: rabbitmq安装 rabbitmq的安装依赖erlang,首先应该先安装erlang,然后安装rabbitmq; Step1:安装erlang "erlang rpm安装教程" 选择在Centos7 上安装: To use Erlang 20.x on CentOS 7: 然后执行: Step2 阅读全文
posted @ 2017-10-21 23:07 ssslinppp 阅读(2476) 评论(0) 推荐(0) 编辑

2017年10月12日

摘要: graphite 定时向Graphite中写入指标项数据,指标项模拟个数3000个 使用的类库 "官方文档" "dropwizard的github地址" "Metric官方文档" "metrics.dropwizard的GitHub地址" 核心代码详解 配置Graphite地址 指定Graphite 阅读全文
posted @ 2017-10-12 11:33 ssslinppp 阅读(1151) 评论(0) 推荐(0) 编辑

2017年9月29日

摘要: 参考链接: "ISOLATION LEVELS" ISOLATION LEVELS In a database system, concurrent transactions are processed in “isolation” from each other. The level of iso 阅读全文
posted @ 2017-09-29 19:22 ssslinppp 阅读(198) 评论(0) 推荐(0) 编辑

2017年9月28日

摘要: Springboot中SpringApplicationEvent的种类 如下图: 主要包括6种: 1. ApplicationEnvironmentPreparedListener 2. ApplicationFailedListener 3. ApplicationPreparedListene 阅读全文
posted @ 2017-09-28 17:00 ssslinppp 阅读(8519) 评论(0) 推荐(1) 编辑

摘要: Controller层方法,进行统一异常处理 提供两种不同的方案,如下: 1. 方案1:使用 @@ControllerAdvice (或@RestControllerAdvice), @ExceptionHandler 注解实现; 2. 方案2: 使用AOP技术实现; 现在分别介绍 方案1: 使用@ 阅读全文
posted @ 2017-09-28 11:50 ssslinppp 阅读(19514) 评论(0) 推荐(0) 编辑

2017年9月26日

摘要: 不生效,解决 原因1:修改 bind 原因2: Slave即的db save失败,因为没有写权限 阅读全文
posted @ 2017-09-26 19:23 ssslinppp 阅读(1235) 评论(0) 推荐(0) 编辑

摘要: 挂载宿主机已存在目录后,在容器内对其进行操作,报“Permission denied”。 可通过两种方式解决: 1 关闭selinux。 临时关闭: setenforce 0 永久关闭:修改/etc/sysconfig/selinux文件,将SELINUX的值设置为disabled。 2 以特权方式 阅读全文
posted @ 2017-09-26 17:51 ssslinppp 阅读(749) 评论(0) 推荐(0) 编辑

2017年9月22日

摘要: 项目结构 完整代码:https://github.com/ssslinppp/dynamicproxy DynamicproxyApplication 自定义注解 ClassAnnotation MethodAnnotation ParamAnnotation 自定义接口 IDemoOne 使用动态 阅读全文
posted @ 2017-09-22 18:01 ssslinppp 阅读(883) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 28 下一页