![](https://img-blog.csdnimg.cn/20200401231541663.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Java EE 组件
文章平均质量分 75
java 相关的一些技术
长生的梦呓
你们好,我叫长生,很高兴认识你们。闻道有先后,术业有专攻。欢迎来和我一起交流讨论。个人博客搜索关键字:长生的梦呓slensoft
展开
-
FastJson 简单使用
一、FastJson 简单使用 下面是几个常用的 JSON 解析类库: Gson: 谷歌开发的 JSON 库,功能十分全面。 FastJson: 阿里巴巴开发的 JSON 库,性能十分优秀。 Jackson: 社区十分活跃且更新速度很快。 1.依赖 添加依赖,我这里使用的阿里巴巴的fastjson。 <!-- fastjson --> <dep...原创 2020-04-11 01:29:32 · 172 阅读 · 0 评论 -
【Log4j】log4j 简单使用 + 详情
前言 log4j 简单使用,附上测试代码与.peoperties文件(也可以使用xml文件配置)。 一、log4j 简单使用 1.添加依赖 我这边使用maven依赖。 <dependency> <groupId>log4j</groupId> <artifactId>log4j</...原创 2020-04-01 23:17:19 · 351 阅读 · 0 评论 -
【Jsoup】Java 爬虫 - Jsoup的简单使用
前言 最近在写爬虫玩,爬虫写完后整理了如下笔记,以后说不定用到上。 其实java.net包下的也可以用,但是为了简单,而且有封装好的Jsoup库库用,效率更高。 一、工具 1.Jsoup jsoup is a Java library for working with real-world HTML. It provides a very convenient API for fetching ...原创 2020-04-01 23:16:58 · 391 阅读 · 0 评论