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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.12.0_3 | 2.12.0_3 | 2.9.0 | 2.12.0 | 2.12.0_3 |
| FreeBSD:14:quarterly | 2.12.0_3 | 2.12.0_3 | n/a | 2.12.0 | 2.12.0_3 |
| FreeBSD:15:latest | 2.12.0_3 | 2.12.0_3 | n/a | 2.12.0 | 2.12.0 |
| FreeBSD:15:quarterly | 2.12.0_3 | 2.12.0_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.12.0_3 | 2.12.0_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${JAVALIBDIR}/commons-pool.jar: java/apache-commons-pool
The full lists below include those, and their dependencies in turn.
All run dependencies 54
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-packaging
- devel/readline
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/apache-commons-pool
- java/javavmwrapper
- java/openjdk21
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Required by 1
Configuration
Options name: java_commons-dbcp
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- java
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| commons-dbcp2-2.12.0-bin.tar.gz | 2.486619e+06 | 54f7444f899980cadf83bdc4220d132bdfdce88e44856f1fb3f459513a58b264 |
Master sites 1
- https://archive.apache.org/dist/commons/dbcp/binaries/
Commit history 0
No commits in the history this site was built from.