The Most Widely Used Java Libraries

本文概述了Java开发中常见的核心库,包括Apache Commons Lang、Google Guava等用于字符串操作、集合、缓存等;HTML、XML解析库如Jsoup、STaX;Web框架如Spring、Struts2;图表、报告、图形库如JFreeChart、JFreeReport、JGraphT;窗口库如Swing、SWT;GUI框架如Eclipse RCP;自然语言处理库如OpenNLP、Stanford Parser;静默分析库如Eclipse JDT、WALA;JSON处理库如Google Gson、JSON-lib;数学库Apache Commons Math;日志库如Apache Log4j、Logback;Office兼容库如Apache POI、Docx4j等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

5. Windowing Libraries

Swing – a GUI library from SDK. (example)
SWT – a GUI library from eclipse.
SWT vs. Swing

6. GUI Frameworks

Eclipse RCP. (example)

7. Natural Language Processing

OpenNLP – a library from Apache. (example)
Stanford Parser – a library from Stanford University. (example)

If you are an expert of NLP, here are more tools.

8. Static Analysis

Eclipse JDT – a library from IBM which can manipulate Java source code. (example)
WALA – a library that can process .jar file, i.e., bytecode. (example)

9. JSON

Google Gson – a Java library that can be used to convert Java Objects into their JSON representation. (example)
JSON-lib – a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans.

10. Math

Apache Commons Math – provide functions for math and statistics.

11. Logging

Apache Log4j – most popular logging library. (example)
Logback – a successor to the popular log4j project.

12. Office-Complicant

Apache POI – APIs for manipulating various file formats based upon Microsoft’s OLE 2 Compound Document format using pure Java.
Docx4j – a Java library for creating and manipulating Microsoft Open XML (Word docx, Powerpoint pptx, and Excel xlsx) files.

* 1) The list above are based on my own survey combined with personal experience. It is possible that they are not precisely THE MOST popular, but at least well-known.
* 2) I will keep updating this list to make it more complete and accurate. Thanks for your comments.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值