The Most Widely Used Java Libraries
A typical Java project relies on third-party libraries. This article summarizes the most popular and widely used Java libraries for a variety of different applications. A simple example is also provided for some of them, if it can be found on ProgramCreek.
Java SDK is surely the #1 widely used library. So the focus of this list is the popular third-party libraries.
1. Core
Apache Commons Lang – Apache’s library that provides a host of helper utilities for the java.lang API, such as String manipulation, object creation, etc.
Google Guava – Google’s Core library for collections, caching, primitives support, etc. (example)
2. HTML, XML Parser
Jsoup – a convenient library to manipulate HTML. (example)
STaX – Process XML code. (example)
3. Web Frameworks
Spring – an open source application framework and inversion of control container for the Java platform.(example)
Struts 2 – most popular web framework from Apache. (example)
Google Web Toolkit – a development toolkit from Google for building and optimizing complex browser-based applications. (example)
Strips – a presentation framework for building web applications using the latest Java technologies.
Tapestry – component oriented framework for creating dynamic, robust, highly scalable web applications in Java.
Here is a comparison of those frameworks.
4. Chart, Report, Graph
JFreeChart – creates charts such as bar charts, line charts, pie charts, etc.
JFreeReport – creates PDF reports.
JGraphT – create graph that contains a set of nodes connected by edges.
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.
翻译待续。。。。
相关推荐
Java Core (javacore) 和 Heap Dump 文件是Java应用程序出现问题时进行诊断的重要工具。它们提供了关于JVM(Java虚拟机)运行状态的详细信息,帮助开发者识别和解决性能问题、内存泄漏以及线程阻塞等问题。JCA(Java...
javacore 文件及 heapdump 文件分析 javacore 文件和 heapdump 文件是 Java 应用程序在遇到致命问题时产生的两个文件,这两个文件可以帮助我们分析和解决 Java 应用程序中的问题。 javacore 文件是一个文本文件,...
JavaCore分析工具是一种用于诊断和理解Java应用程序性能问题的强大工具。它生成的“javacore”文件包含了在特定时刻JVM(Java虚拟机)的状态信息,包括内存使用、线程状态、类加载、垃圾收集等关键数据。这些信息...
java core1 exersise ... findDirectories
IBM最新java threaddump 分析工具 java -jar jca.jar -Xmx1024m jca.jar
websphere在内存溢出的时候会产生javacore文件,分析这个文件可以看出cpu的使用情况。
【标题】"Websphere Javacore 分析工具 JCA412"涉及的是IBM Websphere应用服务器中的一项核心诊断技术,Javacore,以及与Java连接器架构(JCA)相关的分析和故障排查。Javacore是IBM Websphere在遇到异常或系统崩溃...
JDK 12 Documentation - Java Core Libraries Developer Guide JDK 12 Documentation - Java Core Libraries Developer Guide JDK 12 Documentation - Java Core Libraries Developer Guide JDK 12 Documentation - ...
《CoreJava CoreJava CoreJava 基础学习》 在Java编程领域,"CoreJava"通常指的是Java语言的核心部分,不涉及高级特性如Java EE(企业版)或Android开发。这个概念涵盖了Java语言的基础语法、类库以及面向对象编程...
Java内存dump分析和Thread Dump(Java Core)是Java性能调优中的重要环节,它们能帮助开发者定位和解决系统中的各种问题,如内存泄漏、线程阻塞等。下面将详细介绍这两个概念及其分析工具。 首先,Java堆内存dump,...
Java Core 7源码是Java开发中的核心部分,包含了Java平台标准版(Java SE)7的主要组件和类库。深入理解这些源码对于Java开发者来说至关重要,它可以帮助我们更好地掌握语言特性和API的使用,提升编程技能和问题解决...
java core 1 part2
大名鼎鼎的JavaCore第七版中文版,太大了,分成了5M的小文件,大家慢慢下吧,,全部下载完了再解压,part05
Core Java 学习必备PPT(CoreJava教案)
core java /javaeecore java /javaeecore java /javaeecore java /javaee
无论是Java初学者还是从事Java开发的经验者,Java Core源码都是必学的,尤其要对集合框架collection、Java并发控制、Java I/O等的源码实现深入学习,有很多优秀思想,同时也是大企业面试中最常出考点的地方。
- 类库:Java提供了丰富的标准类库,如集合框架、I/O流、网络编程、多线程等,这些是开发中常用的工具。 4. **开发环境**: - IDE(Integrated Development Environment):如Eclipse、NetBeans、IntelliJ IDEA等...
大名鼎鼎的JavaCore第七版中文版,太大了,分成了5M的小文件,大家慢慢下吧,,全部下载完了再解压,part11