<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[彭_德华的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/yeahPeng11</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; yeahPeng11]]></copyright><item><title><![CDATA[ArrayList去重常用的四种方式及性能对比（JMH性能分析）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/122904072</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/122904072</guid><author>yeahPeng11</author><pubDate>Sat, 12 Feb 2022 23:50:55 +0800</pubDate><description><![CDATA[文章目录ArrayList去重常用方法HashSet &amp; LinkedHashSetstream &amp; parallelStreamJMH性能分析去重选择
这里提供四种实用的ArrayList去重的方法，同时我会实用Oracle提供的性能测试工具JMH（Java Microbenchmark Harness，Java微基准测试套件）来测试一下这几种方法的性能。当然这里测试的是在系统性能充裕的情况下进行的，看一看谁更能压榨机器的性能。
当然，那种不常用的去重方式这里就不涉及了。
ArrayLis]]></description><category></category></item><item><title><![CDATA[FastJSON解析Json字符串（反序列化为List、Map）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/122882549</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/122882549</guid><author>yeahPeng11</author><pubDate>Fri, 11 Feb 2022 16:13:33 +0800</pubDate><description><![CDATA[文章目录配置maven依赖数据准备JSON格式字符串转Java对象DO&amp;DTOSelfJSONUtils测试&amp;调用注意的点Fastjson API
在日常开发与数据库打交道的时候，常有以Json格式的字符串存储到数据库的情况，当在Java程序中获取到对应的Json格式的String字符串后，如何才能转换为我们想要的数据格式（比如转换成Java中的自定义类等），就需要做出对Json数据解析的，而我最近写的接口就遇到了这样的需求，我借助阿里的Fastjson api实现json转化为Java P]]></description><category></category></item><item><title><![CDATA[终于Dubbo入门了]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/122419764</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/122419764</guid><author>yeahPeng11</author><pubDate>Mon, 10 Jan 2022 21:31:19 +0800</pubDate><description><![CDATA[查阅了一些资料，站在前人的肩膀上看世界会很美好。

最近一段时间在学习记录Dubbo的一些内容… …
RPC
1.什么是RPC
RPC（Remote Procedure Call），远程过程调用，它是一种通过网络从远程计算机程序上请求服务，而不需要了解底层网络技术的协议。RPC协议假定某些传输协议的存在，如TCP或UDP，为通信程序之间携带信息数据。在OSI网络通信模型中，RPC跨越了传输层和应用层。RPC使得开发包括网络分布式多程序在内的应用程序更加容易。
RPC简单理解就是在本地调用远端的程序，但是感.]]></description><category></category></item><item><title><![CDATA[TCP长连接和短连接-深入浅出（还在总说http长连接吗）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/122419705</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/122419705</guid><author>yeahPeng11</author><pubDate>Mon, 10 Jan 2022 21:26:53 +0800</pubDate><description><![CDATA[查阅了一些资料，站在前人的肩膀上看世界会很美好。

什么是长连接和短连接
1.官方解释
长连接（long connnection），指在一个连接上可以连续发送多个数据包，在连接保持期间，如果没有数据包发送，需要双方发链路检测包。
短连接（short connnection），是相对于长连接而言的概念，指的是在数据传送过程中，只在需要发送数据时才去建立一个连接，数据发送完成后则断开此连接，即每次连接只完成一项业务的发送。
2.通俗一点
长连接：连接-&gt;传输数据-&gt;保持连接 -&gt; 传输数据-.]]></description><category></category></item><item><title><![CDATA[Git常用指令与场景（协作开发必备）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/122371157</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/122371157</guid><author>yeahPeng11</author><pubDate>Fri, 07 Jan 2022 19:51:11 +0800</pubDate><description><![CDATA[查阅了一些资料，站在前人的肩膀上，看世界会很美好的。

跳转：Git和Gitee零基础入门（小白必备！）
一、Git分区
距离上一篇Git文章，已经过去了很长时间了，今天再写一篇，整理最近遇到的一些问题及自己的解决方案。
首先是git分区图：
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-sHylw43P-1641556066223)(D:\Markdown\images\git1.png)]
二、Git协作开发

版本管理系统可以实现自动记录每次文件的改动，大家可以写作编.]]></description><category></category></item><item><title><![CDATA[Docker中拉取的MySQL用户密码丢失【已解决】]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/121584722</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/121584722</guid><author>yeahPeng11</author><pubDate>Sat, 27 Nov 2021 22:19:15 +0800</pubDate><description><![CDATA[文章目录一、MySQL启动与挂载二、root密码丢失三、其他用户密码丢失


参看：

《MySQL必知必会》
https://my.oschina.net/u/2322202/blog/3090119


说来我真废物啊，刚搭建起docker中的mysql来，还没体验几天远程数据库，密码我给丢了，呜呜呜~
先说环境：MySQL5.7、阿里云Linux内核CentOS8、Docker中启动MySQL。
一、MySQL启动与挂载
挂载的作用：**使得外部Linux有docker中mysql的数据，当内部或外部]]></description><category></category></item><item><title><![CDATA[MySQL用户权限总结【用户授权必会】]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/121584343</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/121584343</guid><author>yeahPeng11</author><pubDate>Sat, 27 Nov 2021 21:56:34 +0800</pubDate><description><![CDATA[文章目录一、MySQL用户权限二、用户权限介绍1.权限级别2.权限实现3.权限分布4.查询权限表三、用户权限实战1.查看用户权限信息2.用户创建和授权创建MySQL用户和权限*刷新权限查看和修改权限


参看：

《MySQL必知必会》
https://www.cnblogs.com/Richardzhu/p/3318595.html


一、MySQL用户权限

我的MySQL版本是5.7~

最近有一个项目，在开发过程中直接把数据库安装到阿里云服务器，本地连接阿里云服务器中的MySQL就不能直接root]]></description><category></category></item><item><title><![CDATA[云服务器中Docker安装与镜像使用【MySQL、redis快速访问】]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/121512758</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/121512758</guid><author>yeahPeng11</author><pubDate>Wed, 24 Nov 2021 13:01:22 +0800</pubDate><description><![CDATA[在云服务器上安装Docker，并且在Docker中安装MySQL、redis，本地能够访问到服务器docker中的MySQL数据~]]></description><category></category></item><item><title><![CDATA[SpringSecurity表层【SpringBoot中快速开始、源码分析、核心功能演示】]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/121308104</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/121308104</guid><author>yeahPeng11</author><pubDate>Sat, 13 Nov 2021 18:33:19 +0800</pubDate><description><![CDATA[文章目录一、Security简介二、UserDetailsService1.loadUserByUsername方法2.UserDetailsService实现类三、PasswordEncoder1.encode()2.matches()3.PasswordEncoder使用四、SpringBoot整合Security（配置类）1.实现业务访问链2.实现UserDetailsService3.编写鉴权逻辑4.编写配置类5.启动测试Others1.基于注解配置2.权限、角色、ip2.1 权限2.2 角色2.3]]></description><category></category></item><item><title><![CDATA[序列化深入浅出 —— Java版本]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/121034445</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/121034445</guid><author>yeahPeng11</author><pubDate>Fri, 29 Oct 2021 14:46:24 +0800</pubDate><description><![CDATA[文章目录一、概念&amp;作用二、Java实现序列化1.字节流序列化2.JSON序列化3.二者区别三、序列化安全1.serialVersionUID2.反序列化不安全


参看：

《深入理解序列化与反序列化》牛晓丽
https://www.bilibili.com/video/BV1E7411q7QK
https://tech.meituan.com/2015/02/26/serialization-vs-deserialization.html


一、概念&amp;作用
将本地已经实例化的某个对象（此]]></description><category></category></item><item><title><![CDATA[SpringBoot整合Redis实现缓存（自动缓存 + 手动aop缓存）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/121015739</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/121015739</guid><author>yeahPeng11</author><pubDate>Thu, 28 Oct 2021 15:48:37 +0800</pubDate><description><![CDATA[文章目录一、新建SpringBoot项目1.依赖2.配置文件3.sql和实体类4.统一返回Result二、连接测试1.controller2.service3.mapper4.swagger3启动测试三、Redis缓存（*）1.redis缓存策略2.@Cacheable自动缓存3.RedisTemplate手动缓存3.1 Cache注解和缓存逻辑3.2 配置类RedisConfig23.3 Redis工具类编写3.4 测试四、RedisTemplate部分源码1.redis缓存自动配置2.数据序列化

de]]></description><category></category></item><item><title><![CDATA[SpringBoot上传文件到 后端服务器 或 云服务器（七牛云、阿里云、腾讯云等等都是一样的操作步骤）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120947090</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120947090</guid><author>yeahPeng11</author><pubDate>Mon, 25 Oct 2021 10:21:22 +0800</pubDate><description><![CDATA[文章目录一、新建SpringBoot项目1.pom.xml2.application.yml3.配置Swagger34.统一返回类Result5.统一异常响应ErrorCode二、上传文件到后端1.Controller2.Service3.Swagger3测试三、上传文件到云服务器1.前期准备2.SpringBoot集成2.1 配置SpringBoot2.2 七牛云工具类2.3 controller和service2.4 测试3.扩展

Demo Gitee地址：https://gitee.com/pdh_]]></description><category></category></item><item><title><![CDATA[Swagger3快速使用]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120938449</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120938449</guid><author>yeahPeng11</author><pubDate>Sun, 24 Oct 2021 18:57:06 +0800</pubDate><description><![CDATA[参看
https://swagger.io/
https://www.bilibili.com/video/BV1F44y1t7aK
http://itboyhub.com/2021/01/29/springboot-swagger3

Swagger 为我们提供了一套通过代码和注解自动生成文档的方法，这一点对于保证API 文档的及时性将有很大的帮助。
swagger3支持OpenAPI，发布于2020年7月。它的很多使用细节与swagger2中一致，这里就不做出多的解释【点击我，快速学习swagger2.]]></description><category></category></item><item><title><![CDATA[Java线程池，不会不行]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120851158</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120851158</guid><author>yeahPeng11</author><pubDate>Tue, 19 Oct 2021 17:46:57 +0800</pubDate><description><![CDATA[文章目录一、线程池介绍二、线程池核心1.内部原理2.线程池组成3.核心参数4.核心方法三、在springBoot中使用线程池1.新建立SpringBoot项目2.线程池配置类3.新建Service类4.编写TestController5.使用Swagger2测试四、问题排查

参看：

《阿里巴巴 java 开发手册》
https://www.bilibili.com/video/BV1dt4y1i7Gt
https://blog.youkuaiyun.com/zhaohong_bo/article/details/8]]></description><category></category></item><item><title><![CDATA[ThreadLocal，我悟了~]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120839039</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120839039</guid><author>yeahPeng11</author><pubDate>Tue, 19 Oct 2021 08:56:05 +0800</pubDate><description><![CDATA[文章目录一、ThreadLocal简介二、ThreadLocal核心1.方法2.原理3.ThradLocalMap底层4.参数存储位置三、ThreadLocal内存泄漏四、常见使用场景1.spring隔离级别2.传递对象参数3.更多的使用场景五、ThreadLocal与Synchronized


参看：

《深入理解JVM虚拟机》第三版
https://www.jianshu.com/p/3c5d7f09dfbd
https://blog.youkuaiyun.com/qq_35190492/article/deta]]></description><category></category></item><item><title><![CDATA[JSON一文通透，Java、JS与JSON互转]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120759336</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120759336</guid><author>yeahPeng11</author><pubDate>Thu, 14 Oct 2021 10:51:14 +0800</pubDate><description><![CDATA[文章目录一、JSON介绍1.语法规则2.Google浏览器插件二、Java对象和JSON互转1.Java对象转化为JSON1.1使用Java类库1.2使用fastjson2.JSON转化为Java对象3.封装JSONUtils工具类(重点)三、JS对象和JSON互转1.JSON转JS对象2.JS对象转JSON

参看：

视频：https://www.bilibili.com/video/BV1Pt411u7R3
菜鸟教程：https://www.runoob.com/json/json-tutorial.]]></description><category></category></item><item><title><![CDATA[Java8中日期java.tim的API还不用？（媲美Joda-Time类库！）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120728727</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120728727</guid><author>yeahPeng11</author><pubDate>Tue, 12 Oct 2021 17:53:37 +0800</pubDate><description><![CDATA[文章目录一、概述二、常用类1.LocalDateTime1.1 now()方法1.2 of()方法1.3 plus增加1.4 minus减少1.5 with修改2.ZoneId和ZonedDateTime三、实例超实用1.java.util.Date和java.time.LocalDateTime的转换2.java.sql.Date和java.sql.TimeStamp的转化3.java.util.Calendar转化为ZonedDateTime4.LocalDateTime与String互相转换5.毫秒转]]></description><category></category></item><item><title><![CDATA[SpringBoot+Vue前后端分离项目的搭建及简单开发（这次保证看明白~）]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120634033</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120634033</guid><author>yeahPeng11</author><pubDate>Thu, 07 Oct 2021 11:19:29 +0800</pubDate><description><![CDATA[文章目录概述一、搭建SpringBoot后端1.sql脚本2.新建SpringBoot项目3.MP代码生成4.编写Controller二、搭建Vue前端1.IDEA安装Vue.js插件2.IDEA启动Vue项目3.编写Vue代码4.接收后端数据三、Element UI使用1.简单的数据展示2.Element-ui更多...

参看：https://www.bilibili.com/video/BV137411B7vB
概述

vue+springboot+mybatisplus+mysql演示，搭建起来的是]]></description><category></category></item><item><title><![CDATA[安装并搭建Vue项目【安装node，设置npm镜像】]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120606669</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120606669</guid><author>yeahPeng11</author><pubDate>Mon, 04 Oct 2021 18:46:38 +0800</pubDate><description><![CDATA[文章目录前言一、安装Vue1.安装node.js配置路径和缓存（非必要）2.安装cnmp镜像3.安装vue-cli3.0脚手架二、可视化工具构建Vue项目1.进入图形化界面2.创建项目

前言

本篇简述Windows下，安装、搭建Vue项目。Vue的一些基本语法不涉及，需要自行学习。

在学习前端前沿技术之前，在本地安装node+vue环境。Vue通过尽可能简单的 API 实现 响应的数据绑定 和 组合的视图组件。它易于上手，便于与第三方库或既有项目整合。
一、安装Vue
安装它的方式有三种：安装独立版本]]></description><category></category></item><item><title><![CDATA[Spring AOP和Spring IoC 我真的有在学了]]></title><link>https://blog.youkuaiyun.com/yeahPeng11/article/details/120568605</link><guid>https://blog.youkuaiyun.com/yeahPeng11/article/details/120568605</guid><author>yeahPeng11</author><pubDate>Thu, 30 Sep 2021 16:20:34 +0800</pubDate><description><![CDATA[文章目录一、Spring IOCDI和IOCIOC容器初始化二、Spring AOP1.名词解释JoinPoint(连接点)Pointcut(切点)Advice(增强)切点函数2.快速使用2.1 Spring AOP注解2.2 使用示例3.Proxy代理3.1 代理简介3.2 代理分类静态代理动态代理4.AOP运行流程

学习到SpringBoot，有必要更进一步理解和学习Spring更深层的东西。这就学习和整理了这一篇文章。

参看：

《深入理解JVM虚拟机》第三版
https://spring.io
]]></description><category></category></item></channel></rss>