|
Index of Basic knowledge for developing Fat-Clients with Java |
|
Last
revision of this document: |
This
is document contains the code for Class
JSBS_DB_ConnectionManager.
For easy 'cut and paste' ;-)
For
an overview of the idea of Data-Base-Access Objects please refer to
Using Business
Objects to handle data-storage and -retrieval .
For an
explanation how the variables in this object contribute to produce a
change-history, please refer to Common
Attributes for all database-tables .
package
js_base.connections;
import
java.sql.*;
import
java.util.*;
import
js_base.structures.*;
import
js_base.xml.*;
/**
*
* @author kurt@javascout.biz
*
@date 2006-09-22
*
* @description
*
Methods to establish and administrate connections to the
database-system.
* This class keeps track of all
connections to the database.
* As establishing of
a connection to the database takes relatively long,
* no
longer needed connections are not 'closed'; just marked as
unused
* and used again at a new request for a
database-connection (method 'reserveConnection').
*
* @change-log
*
when who why
*
--------------------------------------------------------
*
*/
public
class JSBS_DB_ConnectionManager
{