JRDriver static clause action
- By Nitin Nanda
- February 5, 2001
COMPONENT JAVA
Extending the Power of JDBC Drivers
Nitin Nanda
Listing 1. JRDriver static clause action.
static
{
/* initialize no. of connections */
/* this could be read from property file*/
iConnections = 10;
try
{
/* register with the driver */
DriverManager.registerDriver(new JRDriver());
/* create pool manager object */
poolManager = new JRPoolManager(iConnections);
}
. . .
}