Apache Commons: Difference between revisions

Content deleted Content added
Linuxjava (talk | contribs)
No edit summary
Removing link(s) to "Byte Code Engineering Library": Removing links to deleted page Byte Code Engineering Library.
 
(260 intermediate revisions by more than 100 users not shown)
Line 1:
The '''Apache Commons''' is a project of the [[Apache Software Foundation]], formerly under the [[Jakarta Project]]. The purpose of the Commons is to provide reusable, [[Open-source software|open source]] [[Java (software platform)|Java]] software. The Commons is composed of three parts: proper, sandbox, and dormant.
{{Citation style|date=February 2011|details=Violates Wikipedia:External links: "Wikipedia articles may include links to web pages outside Wikipedia (external links), but they should not normally be used in the body of an article."}}
 
The '''Apache Commons''' is a project of the [[Apache Software Foundation]], formerly under the [[Jakarta Project]]. The purpose of the Commons is to provide reusable, [[open source]] Java software. The Commons is composed of three parts: proper, sandbox, and dormant.
 
== Commons Proper ==
The Commons Proper is dedicated to creating and maintaining reusable [[Java (software platform)|Java]] components. The Commons Proper is a place for collaboration and sharing, where developers from throughout the Apache community can work together on projects to be shared by Apache projects and Apache users.
Commons developers will make an effort to ensure that their components have minimal dependencies on other [[Library (computer science)|software libraries]], so that these components can be [[Software deployment|deployed]] easily. In addition, Commons components will keep their [[Interface (computer science)|interfaces]] as stable as possible, so that Apache users, as well as other Apache projects, can implement these components without having to worry about changes in the future.<ref>[http://commons.apache.org/ The Apache Commons root page]</ref>
 
{|class="wikitable sortable"
! Components
! Description
! Latest Versionversion
! Released
|-
| BCEL
| <a href="proper/commons-bcel/">BCEL</a>
| Byte Code Engineering Library - analyze, create, and manipulate Java class files
| 56.210.0
| 20072024-0607-1413
|-
|[[Apache Commons BeanUtils|BeanUtils]]
| <a href="proper/commons-beanutils/">BeanUtils</a>
| Easy-to-use wrappers around the Java reflection and introspection APIs.
| 1.911.20
| 20142025-05-2925
|-
| [[Bean Scripting Framework|BSF]]
| <a href="proper/commons-bsf/">BSF</a>
| Bean Scripting Framework - interface to scripting languages, including JSR-223
| 3.1
| 20102011-2408-0617
|-
| Chain
| <a href="proper/commons-chain/">Chain</a>
| <i>''Chain of Responsibility</i>'' pattern implemention.implementation
| 1.2
| 2008-06-0201
|-
| CLI
| <a href="proper/commons-cli/">CLI</a>
| Command Line arguments parser.
| 1.210.0
| 20092025-0307-1930
|-
| Codec
| <a href="proper/commons-codec/">Codec</a>
| General encoding/decoding algorithms (for example phonetic, base64, URL).
| 1.919.0
| 20132025-1207-2519
|-
| <a href="proper/commons-collections/">Collections</a>
| Extends or augments the [[Java collections framework|Java Collections Framework.]]
| 4.5.0
| 20132025-1104-2419
|-
| <a href="proper/commons-compress/">Compress</a>
| Defines an API for working with tar[[Tar (computing)|TAR]], zip[[ZIP (file format)|ZIP]] and bzip2[[Bzip2|BZIP2]] files.
| 1.828.10
| 20142025-0507-1426
|-
| <a href="proper/commons-configuration/">Configuration</a>
| Reading of configuration/preferences files in various formats.
| 12.1012.0
| 20132025-1004-2722
|-
| Crypto
| Cryptographic library optimized with AES-NI wrapping [[OpenSSL]] or JCE algorithm implementations
| 1.2.0
| 2023-01-14
|-
| CSV
| <a href="proper/commons-csv/">CSV</a>
| Component for reading and writing [[Comma-separated values|comma separated value]] files.
| 1.14.0
| 20142025-0803-1415
|-
| [[Commons Daemon|Daemon]]
| <a href="proper/commons-daemon/">Daemon</a>
| Generic [[Daemon (Unix)|Daemon (unix)]] or [[Service (Windows)]] wrapper for Java code
| Alternative invocation mechanism for unix-daemon-like java code.
| 1.04.151
| 20132025-0301-0413
|-
| DBCP
| <a href="proper/commons-dbcp/">DBCP</a>
| Database connection pooling services.
| 2.013.10
| 20142024-0511-2426
|-
| DbUtils
| <a href="proper/commons-dbutils/">DbUtils</a>
| JDBC helper library.
| 1.68.1
| 20142023-0709-2009
|-
| <a href="proper/commons-digester/">Digester</a>
| [[XML]]-to-Java-object mapping utility.
| 3.2
| 2011-12-13
|-
| Email
| <a href="proper/commons-discovery/">Discovery</a>
| Library for sending e-mails
| Tools for locating resources by mapping service/reference names to resource names.
| 01.5
| 20112017-0408-2801
|-
| Exec
| <a href="proper/commons-el/">EL</a>
| API for dealing with external process execution and environment management
| Interpreter for the Expression Language defined by the JSP 2.0 specification.
| 1.5.0
| 20032025-0605-1816
|-
| FileUpload
| <a href="proper/commons-email/">Email</a>
| File upload capability for [[servlets]] and web applications
| Library for sending e-mail from Java.
| 1.36.30
| 20142025-0706-1105
|-
| Functor
| <a href="proper/commons-exec/">Exec</a>
| Supports [[functional programming]] using ''functors'', objects representing functions
| API for dealing with external process execution and environment management in Java.
| 1.20 RC1
| 20142011-0110-0220
|-
| Geometry
| <a href="proper/commons-fileupload/">FileUpload</a>
| General-purpose library for geometric processing
| File upload capability for your servlets and web applications.
| 1.3.10
| 20142021-0208-0721
|-
| Imaging
| <a href="proper/commons-functor/">Functor</a>
| Pure-Java image library
| A functor is a function that can be manipulated as an object, or an object representing a single, generic function.
| 1.0-alpha6
| N/A
| 2025-04-27
| N/A
|-
| IO
| <a href="proper/commons-imaging/">Imaging (previously called Sanselan)</a>
| Collection of I/O utilities
| A pure-Java image library.
| N/A2.20.0
| 2025-07-13
| N/A
|-
| JCI
| <a href="proper/commons-io/">IO</a>
| Collection of I/O utilities.
| 2.4
| 2012-06-12
|-
| <a href="proper/commons-jci/">JCI</a>
| Java Compiler Interface
| 1.1
| 2013-10-14
|-
| JCS
| <a href="proper/commons-jcs/">JCS</a>
| Java Caching System
| 1.3.2.1
| 2007-062024-05-27
|-
| [[Apache Jelly|Jelly]]
| <a href="proper/commons-jelly/">Jelly</a>
| [[XML]] based scripting and processing engine.
| 1.0.1
| 20052017-0609-1625
|-
| JEXL
| <a href="proper/commons-jexl/">Jexl</a>
| Expression language which extends the Expression Language of the JSTL.
| 23.15.10
| 20112025-1204-2411
|-
| JXPath
| <a href="proper/commons-jxpath/">JXPath</a>
| Utilities for manipulating [[JavaBeans|Java Beans]] using the [[XPath]] syntax.
| 1.34.0
| 20082025-0804-1412
|-
| Lang
| <a href="proper/commons-lang/">Lang</a>
| Provides extra functionality for classes in [[java.lang.]]
| 3.318.20
| 20142025-0407-0906
|-
| [[Apache Commons Logging|Logging]]
| <a href="proper/commons-launcher/">Launcher</a>
| Wrapper around a variety of logging API implementations
| Cross platform Java application launcher.
| 1.13.5
| 20042025-0801-2231
|-
| Math
| <a href="proper/commons-logging/">Logging</a>
| Lightweight, self-contained mathematics and statistics components
| Wrapper around a variety of logging API implementations.
| 4.0-beta1
| 2022-12-20
|-
| Net
| Collection of network utilities and protocol implementations
| 3.12.0
| 2025-07-28
|-
| Numbers
| Number types (complex, quaternion, fraction) and utilities (arrays, combinatorics)
| 1.2
| 20142024-0708-1112
|-
| Pool
| <a href="proper/commons-math/">Math</a>
| Generic object pooling component
| Lightweight, self-contained mathematics and statistics components.
| 32.312.1
| 20142025-0501-1419
|-
| Proxy
| <a href="proper/commons-modeler/">Modeler</a>
| Library for creating dynamic proxies
| Mechanisms to create Model MBeans compatible with JMX specification.
| 2.0.1-RC1
| 20072014-0604-2507
|-
| RDF
| Common implementation of [[Resource Description Framework|RDF]] 1.1 that could be implemented by systems on the JVM
| 0.5.0
| 2017-12-08
|-
| RNG
| Implementions of pseudo-random numbers generators
| 1.6
| 2024-07-15
|-
| SCXML
| Implementation of the State Chart XML specification aimed at creating and maintaining a Java SCXML engine
| 2.0-M1
| 2014-04-03
|-
| Statistics
| Utilities for statistical applications
| 1.1
| 2024-08-20
|-
| Text
| Library focused on algorithms working on strings
| 1.14.0
| 2025-07-20
|-
| Validator
| <a href="proper/commons-net/">Net</a>
| Framework to define validators and validation rules in an [[XML]] file
| Collection of network utilities and protocol implementations.
| 31.310.0
| 20132025-0607-1206
|-
| VFS
| <a href="proper/commons-ognl/">OGNL</a>
| Virtual File System component for treating files, [[FTP]], [[Server Message Block|SMB]], [[ZIP (file format)|ZIP]] and such like as a single logical file system
| An Object-Graph Navigation Language
| N/A2.10.0
| 2025-02-01
| N/A
|-
| Weaver
| <a href="proper/commons-pool/">Pool</a>
| Provides an easy way to enhance (weave) compiled bytecode
| Generic object pooling component.
| 2.20
| 20142018-0209-2407
|}
 
== Commons Sandbox ==
The Commons Sandbox provides a workspace where Commons contributors collaborate and experiment on projects not included in the Commons Proper. Commons members champion projects in the Sandbox for promotion to the Commons Proper, and groups of developers work to enhance Sandbox projects until they meet the standards for promotion.
 
{|class="wikitable"
! Components
! Description
|-
| BeanUtils2
| <a href="proper/commons-primitives/">Primitives</a>
| Redesign of Commons BeanUtils
| Smaller, faster and easier to work with types supporting Java primitive types.
| 1.0
| 2003-11-05
|-
| ClassScan
| <a href="proper/commons-proxy/">Proxy</a>
| Find Class interfaces, methods, fields, and annotations without loading
| Library for creating dynamic proxies.
| 1.0
| 2008-02-28
|-
| CLI2
| <a href="proper/commons-scxml/">SCXML</a>
| Redesign of Commons CLI
| An implementation of the State Chart XML specification aimed at creating and maintaining a Java SCXML engine. It is capable of executing a state machine defined using a SCXML document, and abstracts out the environment interfaces.
| 0.9
| 2008-12-01
|-
| Convert
| <a href="proper/commons-validator/">Validator</a>
| Aims to provide a single library dedicated to the task of converting an object of one type to another
| Framework to define validators and validation rules in an xml file.
| 1.4.0
| 2012-02-03
|-
| Finder
| <a href="proper/commons-vfs/">VFS</a>
| Java library inspired by the [[Find (Unix)|UNIX find]] command
| Virtual File System component for treating files, FTP, SMB, ZIP and such like as a single logical file system.
| 2.0
| 2011-08-24
|-
| Flatfile
| <a href="proper/commons-weaver/">Weaver</a>
| Java library for working with flat data structures
| Provides an easy way to enhance (weave) compiled bytecode.
|- 1.0
| Graph
| 2014-03-16
| General purpose Graph APIs and algorithms
|-
| I18n
| Adds the feature of localized message bundles that consist of one or many localized texts that belong together
|-
| Id
| Component for generating identifiers
|-
|Inject
|Implementation of JSR 330, a standards compliant dependency injection framework
|-
| Javaflow
| [[Continuation]] implementation to capture the state of the application
|-
| JNet
| Allows using dynamically registered URL stream handlers through the java.net API
|-
|Monitoring
|Aims to provide a simple but extensible monitoring solution for Java applications
|-
| Nabla
| Provides automatic differentiation classes that can generate derivative of any function implemented in the Java language
|-
| OpenPGP
| Interface to signing and verifying data using [[OpenPGP]]
|-
| Performance
| Small framework for [[microbenchmark]] clients, with implementations for Commons DBCP and Pool
|-
| Pipeline
| Provides a set of pipeline utilities designed around work queues that run in parallel to sequentially process data objects
|}
 
== Commons Sandbox ==
The Commons Sandbox provides a workspace where Commons contributors collaborate and experiment on projects not included in the Commons Proper. Commons members champion projects in the Sandbox for promotion to the Commons Proper, and groups of developers work to enhance Sandbox projects until they meet the standards for promotion.
 
A list of Commons Sandbox projects appears on the Commons Sandbox page.
 
== Commons Dormant ==
The Commons Dormant is a collection of components that have been declared inactive due to little recent development activity. These components may be used, but must be built yourself. It is best to assume that these components will not be released in the near future.
 
{|class="wikitable"
The current list of Commons Dormant projects is available on the Commons Dormant page.
! Components
! Description
|-
| Attributes
| Runtime API to metadata attributes such as doclet tags
|-
| Betwixt
| Services for mapping [[JavaBeans]] to [[XML]] documents and vice versa
|-
| Cache
| Provides object caching services
|-
| Clazz
| Focuses on introspection and class manipulation
|-
| Contract
| Component for making features that come along with contract based programming available
|-
| Convert
| Aims to provide a single library dedicated to the task of converting an object of one type to another
|-
|Discovery
|Tools for locating resources by mapping service/reference names to resource names
|-
|EL
|Interpreter for the Expression Language defined by the JSP 2.0 specification
|-
| Events
| Provides additional classes for firing and handling events. It focuses on the [[Java collections framework|Java Collections Framework]], providing decorators to other collections that fire events.
|-
| Feedparser
| [[RSS]] and [[Atom (web standard)|Atom]] parser designed to support all major versions of RSS and Atom, as well as easy ad hoc extension and RSS 1.0 modules capability
|-
| JJar
| Jakarta JAR Archive Repository
|-
| Latka
| [[HTTP]] functional testing suite for automated QA, acceptance and regression testing
|-
|Launcher
|Cross platform Java application launcher
|-
| Mapper
| Thin abstraction layer around a project's chosen data mapping technology (a.k.a. [[DAO Pattern|DAO pattern]])
|-
| Messenger
| Easy to use and lightweight framework for working with JMS in the web tier
|-
|Modeler
|Mechanisms to create Model MBeans compatible with JMX specification
|-
| [[OGNL]]
| Object-Graph Navigation Language
|-
|Primitives
|Smaller, faster and easier to work with types supporting Java primitive types
|-
| Resources
| Provides a lightweight framework for defining and looking up internationalized message strings keyed by a java.util.Locale and a message key
|-
| Scaffold
| Toolkit for building web applications
|-
| ThreadPool
| Simple component for asynchronously dispatching work to another thread in a pool for simple multithreaded programming
|-
| Transaction
| Implementations for multi-level locks, transactional collections and transactional file access
|-
| Workflow
| Provides a framework for building workflow management systems
|-
| XMLIO
| Simple and fast importer for [[XML]] configuration or import files
|}
 
== See also ==
Line 235 ⟶ 367:
{{Reflist}}
 
{{Citation|last=Goyal|first=Vikram|url=http://www.onjava.com/pub/a/onjava/2003/06/25/commons.html|title=Using the Jakarta Commons, Part I|accessdateaccess-date=August 13, 2006|year=2003}}
 
== External links ==
* [http://commons.apache.org/ Apache Commons]
* [http://commons.apache.org/components.html Components page]
* [http://commons.apache.org/sandbox.html Sandbox page]
* [http://commons.apache.org/dormant/index.html Dormant page]
 
{{Apache Software Foundation}}
 
<!--Categories-->
[[Category:Java (programming language) libraries]]
[[Category:Apache Software Foundation|Commons]]
[[Category:Software using the Apache license]]
[[Category:Apache Commons| ]]