This post originated from an RSS feed registered with Java Buzz
by News Manager.
Original Post: The Apache Jakarta Project has released Commons-DBCP 1.3 and 1.4, a library for pooling database...
Feed Title: Cafe au Lait
Feed URL: http://www.cafeaulait.org/today.rss
Feed Description: Cafe au Lait is the preeminent independent source of Java information on the net. Unlike many other Java sites, Cafe au Lait is neither beholden to specific companies nor to advertisers. At Cafe au Lait you'll find many resources to help you develop your Java programming skills here including daily news summaries, FAQ lists, tutorials, course notes, examples, exercises, book reviews, user groups and more.
The Apache Jakarta Project has released Commons-DBCP 1.3 and 1.4, a library for pooling database connections. Version 1.4 supports JDBC 4 and requires Java 1.6. Version 1.3 supports JDBC 3 and requires Java 1.4. According to the web page, "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." "Both releases contain numerous bug fixes and enhancements. Support for pooling managed connections and callable statements has been added, and several long-standing API consistency and reliability issues have been resolved."