随笔分类 - 【开源组件】
业界通用的组件,如log4j等
摘要:4次迭代,让我的 Client 优化 100倍! https://www.cnblogs.com/crazymakercircle/p/17136216.html 在大家的生产项目中,经常需要通过Client组件(HttpClient/OkHttp/JDK Connection)调用第三方接口。 在
阅读全文
摘要:阿里技术针对Java日志的专题系列: https://new.qq.com/rain/a/20240522A010GS00 Log4j2中RollingFile的文件滚动更新机制:https://www.cnblogs.com/yeyang/p/7944899.html https://www.cn
阅读全文
摘要:https://tech.meituan.com/2016/11/18/disruptor.html // 精巧的无锁设计实现了在高并发情形下的高性能,性能优于ArrayBlockingQueue。包括Apache Storm、Camel、Log4j 2在内的很多知名项目都应用了Disruptor以
阅读全文
摘要:MetaObjectHandler接口 参考 https://blog.csdn.net/qq_42875345/article/details/113273533 应用需实现上述接口,实现DB中属性自动填充配置,比如createTime/upateTime
阅读全文
摘要:Guava:Google工具类库,https://github.com/google/guava 使用: 常用开发库:参考 https://pdai.tech/md/develop/package/dev-package-x-google-guava.html 基本工具 [Basic utiliti
阅读全文
摘要:参考:https://mybatis.org/mybatis-3/zh/sqlmap-xml.html 一、select <select id="selectPerson" parameterType="int" resultType="hashmap"> SELECT * FROM PERSON
阅读全文
摘要:参考:https://mybatis.org/spring/zh_CN/ MyBatis-Spring 会帮助你将 MyBatis 代码无缝地整合到 Spring 中。它将允许 MyBatis 参与到 Spring 的事务管理之中,创建映射器 mapper 和 SqlSession 并注入到 bea
阅读全文
摘要:一、JSON格式入门 基础类型: false / null / true / object / array / number / string 几种形式: 1、JSONArray: 见employees字段 2、JSONString: company字段 3、JSONObject: 格式化工具 1、
阅读全文
摘要:一、简介 官网:https://mybatis.org/mybatis-3/zh/index.html 每个基于 MyBatis 的应用都是以一个 SqlSessionFactory 的实例为核心的 SqlSessionFactory 的实例可以通过 SqlSessionFactoryBuilder
阅读全文
摘要:一、后台 1、hutool: http://hutool.mydoc.io/ 各种工具库 2、apache commons: httpclient(Spring推荐restTemplate(后台基于httpclient)),参考baduleng样例 https://www.baeldung.com/
阅读全文