【三方件】汇总
一、后台
1、hutool: http://hutool.mydoc.io/ 各种工具库
2、apache commons:
httpclient(Spring推荐restTemplate(后台基于httpclient)),参考baduleng样例 https://www.baeldung.com/httpclient-guide
collections(CollectionUtils集合操作):参考 https://baeldung-cn.com/java-collections (包含Java collection 和 Apache commons Collections)
Apache Commons Collections Bag
Apache Commons Collections SetUtils
Apache Commons Collections OrderedMap
Apache Commons Collections BidiMap
A Guide to Apache Commons Collections CollectionUtils
Apache Commons Collections MapUtils
Guide to Apache Commons CircularFifoQueue
io(FileUtils): 使用参考: https://www.baeldung.com/apache-commons-io
lang: 使用参考 https://baeldung-cn.com/java-commons-lang-3,很简洁的样例(StringUtils/)
3、Guava:Google工具类库
https://github.com/google/guava
ratelimiter:单机限流
缓存: CacheBuilder
expireAfterAccess: 当缓存项在指定的时间段内没有被读或写就会被回收。
expireAfterWrite:当缓存项在指定的时间段内没有更新就会被回收。
refreshAfterWrite:当缓存项上一次更新操作之后的多久会被刷新。
4、Lombok:
https://projectlombok.org/features/all
常用:@Data、@Getter、@Setter、@Builder(@Builder.Default) 建造者模式、@AllArgsConstructor/NoArgsConstructor、@Value(生成不可变类,只可构造函数初始化,自动生成get/hashCode/equals/toString)
5、Elastic-job 分布式任务定时调度
6、MapStruct:Bean转换
7、Google Guice 轻量级依赖注入框架
二、前台
JsonEditor https://jsoneditoronline.org/
【网络数据可视化】
1、mxGraph:纯JS,应用产品:draw.io
2、Cytoscape.js:基于Vue框架,应用产品:腾讯蓝鲸平台