Translation from Programcreek;
Typical Java projects often rely on third-party libraries, and this article summarizes some of the most popular Java libraries, which are widely used in a variety of applications;
Of course, the Java SDK is the most widely used Java library, this needless to say, the focus of this article is the third-party library;
This list may not be perfect, and if you think some of the libraries should be listed, please leave your comments.
Core Library
- Apache Commons Lang-This is a library of Apache that provides a number of ancillary tools such as string processing, object creation, etc., which complements the Java.lang API;
- Google Guava-Google's core class library for implementing collections [collections], cache [caching], native type support [primitives supports], etc.;
HTML, XML parsing
- Jsoup-the HTML content can be handled very conveniently;
- STaX-for parsing XML documents;
Web Framework
- An open source framework and IOC container under the Spring-java platform;
- The most popular web framework in Struts 2-apach;
- Google Web Toolkit-Open source Java Software Development framework from Google for building and optimizing browser-based complex applications;
- Strips-a Presentation Framework framework that builds Web applications using the latest Java technologies;
- Tapestry-a component-oriented framework for creating dynamic, robust, and highly scalable Web applications.
Icons, reports, graphics
- Jfreechart-Used to create bar charts, graphs, pie charts, etc.;
- Jfreereport-Create a PDF report;
- JGRAPHT-Creates a graph that contains a set of points connected by an edge;
Window Library
- Graphical interface library in SWING-JDK;
- SWT-a library of graphical interfaces from eclipse;
GUI Framework
- Eclipse RCP-Provides a standardized component model, including menus, toolbars, etc.;
Natural language Processing
- Natural language processing library provided by Opennlp-apache;
- Stanford Parser-A natural language processing library provided by Stanford University;
Static analysis
- Eclipse JDT-A library from IBM that can manipulate Java source code;
- WALA-a library that can handle jar files;
Json
- Jackson-A multi-purpose Java library for working with JSON-formatted data.
- XStream-a simple library for serializing Java objects into XML and supporting deserialization;
- Google Gson-can convert a Java object to a JSON string, or convert a JSON string into a Java object;
- Json-lib-for beans, maps, collections, Java arrays, XML, and JSON to convert each other;
Mathematical
- Apache Commons Math-provides some mathematical and statistical related functions.
Log
- Apache log4j-The most popular log library;
- The successor of the LOGBACK-LOG4J;
- SLF4J (The simplest Logging facade for Java)-a simple look or abstraction of various log frameworks (such as java.util.logging, Logback, log4j, etc.), allowing the user to add the required log framework at deployment time.
Office related
- Apache POI-Use pure Java to manipulate various documents based on the Microsoft OLE2 Composite document format.
- DOCX4J-a Java library for creating and manipulating Microsoft-exposed XML files (Word docx, Powerpoint pptx, and Excel xlsx are supported).
Date and time
- Joda-time-High quality date and time processing class library;
Database
- Hibernate/eclipselink/jpa
- Jdo
- Jooq
- Springjdbc/spring Data
- Apache dbutils
Development tools
- Lombok-a library for simplifying Java code writing;
Link: http://www.programcreek.com/2011/08/the-most-widely-used-java-apis/
Most popular Java third-party libraries