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.
===> The following configuration options are available for apache-commons-dbcp-2.12.0_3:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
java/apache-commons-dbcp: unpin openjdk8
builds fine and all dependencies also use JAVA_DEFAULT (openjdk25)
PR: 294355
Approved-by: maintainer (Alex Dupre)
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
java: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alex Dupre <ale@FreeBSD.org>
* Alex Semenyaka <alex@rinet.ru>
* Alexander Yerenkow <yerenkow@gmail.com>
* Anton Yudin (<contact@toha.org.ua>)
* Anton Yudin <toha@toha.org.ua>
* Benjamin Close <benjsc@FreeBSD.org>
* Björn König <bkoenig@alpha-tierchen.de>
* Conor McDermottroe <ports@mcdermottroe.com>
* Danilo Egea Gondolfo <danilo@FreeBSD.org
* Dave Glowacki <dglo@ssec.wisc.edu>
* Ernst de Haan <znerd@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
java/apache-commons-dbcp: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Approved by: ale (port maintainer), arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32426