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.txt文件用jca打开,heapdump.phd文件用ha打开。 Heap dump 文件是一个二进制文件,它保存了某一时刻在 Java 堆中所有对象的状态。这个文件最重要的作用就是分析 Java 堆内存泄露问题,heap analyzer,MAT ...
JavaCore分析工具是一种在Java应用程序出现问题时,如CPU占用过高或出现Out Of Memory (OOT)错误时,用于诊断和分析的利器。它主要用于Java虚拟机(JVM)的故障排查,尤其是在使用像Websphere或Weblogic这样的企业级...
IBM JVM 分析工具,JCA,javaCore查看工具
在这种情况下,分析工具的使用就显得至关重要,特别是IBM提供的javacore分析工具,它可以帮助我们诊断和解决这些问题。本文将深入探讨IBM WebSphere中的JCA(Java Connector Architecture)与javacore分析之间的关联...
`javacore`和`heapdump`文件就是用来记录和诊断这类问题的重要工具。本篇文章将详细讲解如何使用`javacore`和`heapdump`分析工具,特别是针对Websphere环境的`ha`和`jca`工具,以及如何使用JDK1.6来打开和解析这些...
IBM WebSphere JavaCore分析工具是针对IBM WebSphere应用服务器中出现的问题进行诊断的重要工具。JavaCore文件是由IBM WebSphere生成的一种日志文件,它记录了JVM(Java虚拟机)在遇到严重错误或异常时的堆栈跟踪和...
Java Core (javacore) 和 Heap Dump 是Java应用程序出现问题时常用的诊断工具,它们提供了关于Java虚拟机(JVM)状态的详细信息。JCA(Java Composite Diagnostic Tools)是Oracle提供的一个强大工具,用于分析和...
JavaCore日志是一种重要的诊断工具,它记录了Java虚拟机(JVM)在特定时间点的详细状态,包括线程信息、内存分配、类加载情况等。当Java应用程序出现异常,如内存溢出(Out Of Memory,OOM)等问题时,分析javacore...
在IT领域,尤其是在企业级应用服务器的运维与故障排查中,收集Heapdump和JavaCore是诊断Java应用程序内存泄漏、性能瓶颈以及异常行为的关键步骤。本文将深入解析在AIX系统环境下,如何通过设置特定环境变量来有效...
在IT领域,尤其是在Java应用程序的性能调优过程中,生成javacore和heapdump文件是非常重要的步骤。这些文件能帮助我们诊断应用程序的内存泄漏、性能瓶颈等问题。本篇将详细讲解如何利用wsadmin工具来生成这两种文件...
### IBM内部javacore分析pdf教程文件 #### 一、概览 在IT行业中,特别是在企业级应用开发与维护领域,经常会遇到系统崩溃或性能问题。这类问题往往需要通过深入的技术分析来找到根本原因并采取相应的预防措施。IBM...
websphere在内存溢出的时候会产生javacore文件,分析这个文件可以看出cpu的使用情况。
IBM的Java核心(javacore)线程分析工具是一款强大的诊断工具,专为开发者和系统管理员设计,用于理解和解决IBM J9 Java虚拟机中的线程问题。它通过生成详细的线程快照,帮助用户深入洞察应用程序的运行状态,特别是...
JavaCore 文件的头部有一个“Current Thread Details”标记,它记录了 JavaCore 产生时系统运行的线程 id,使用线程 id 在文件中查找线程的详细信息,该信息中记载了线程运行哪个类的时候造成的 JavaCore。...
这里提到的"corejava java core"可能是对这套技术体系的简称或关键词。 在Java编程中,核心概念包括: 1. **基本类型**:Java有8种基本类型,包括整型(byte, short, int, long)、浮点型(float, double)、字符...
从IBM 站点 一个perl 的脚本转过来的。打印内存利用情况。 python 3.0
JDK 11 Documentation - Java Core Libraries Developer Guide JDK 11 Documentation - Java Core Libraries Developer Guide JDK 11 Documentation - Java Core Libraries Developer Guide JDK 11 Documentation - ...
《Java Core 卷源码详解》 Java Core是Java编程领域的基础和核心,它涵盖了Java语言的各个方面,包括语法、类库、并发编程、内存管理等。本资源为"Java Core 8 核心卷源码",是最新的版本,对于理解和深入学习Java...