FreeBSD Ports

java/apache-commons-dbcp 2.12.0_3

Apache Commons Database Connection Pool

Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
java, databases
Package size
583.0 KiB, 8047.0 KiB installed

Description

The DBCP Component

Many Jakarta projects support interaction with a relational database. Creating a new connection for each user can be time consuming (often requiring multiple seconds of clock time), in order to perform a database transaction that might take milliseconds. Opening a connection per user can be unfeasible in a publicly-hosted Internet application where the number of simultaneous users can be very large. Accordingly, developers often wish to share a "pool" of open connections between all of the application's current users. The number of users actually performing a request at any given time is usually a very small percentage of the total number of active users, and during request processing is the only time that a database connection is required. The application itself logs into the DBMS, and handles any user account issues internally. There are several Database Connection Pools already available, both within Jakarta products and elsewhere. This Commons package provides an opportunity to coordinate the efforts required to create and maintain an efficient, feature-rich package under the ASF license. The commons-dbcp package relies on code in the commons-pool package to provide the underlying object pool mechanisms that it utilizes.

Install

As a binary package — by origin, or by package name:

pkg install java/apache-commons-dbcp
pkg install apache-commons-dbcp

From the ports tree:

cd /usr/ports/java/apache-commons-dbcp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	apache-commons-dbcp>0:java/apache-commons-dbcp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.12.0_32.12.0_32.9.02.12.02.12.0_3
FreeBSD:14:quarterly2.12.0_32.12.0_3n/a2.12.02.12.0_3
FreeBSD:15:latest2.12.0_32.12.0_3n/a2.12.02.12.0
FreeBSD:15:quarterly2.12.0_32.12.0_3n/an/an/a
FreeBSD:16:latest2.12.0_32.12.0_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

All run dependencies 54
Required by 1

Configuration

Options name: java_commons-dbcp

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
java
Service scripts
none

Files

distinfo 1
FileSizeSHA256
commons-dbcp2-2.12.0-bin.tar.gz2.486619e+0654f7444f899980cadf83bdc4220d132bdfdce88e44856f1fb3f459513a58b264
Master sites 1
  • https://archive.apache.org/dist/commons/dbcp/binaries/

Commit history 0

No commits in the history this site was built from.