Application Servers: ConnectionPoolDataSource

PostgreSQL™ includes one implementation of ConnectionPoolDataSource for JDBC 2 and one for JDBC 3, as shown in Table 11.1, “ConnectionPoolDataSource Implementations”.

Both implementations use the same configuration scheme. JDBC requires that a ConnectionPoolDataSource be configured via JavaBean properties, shown in Table 11.2, “ConnectionPoolDataSource Configuration Properties”, so there are get and set methods for each of these properties.

Many application servers use a properties-style syntax to configure these properties, so it would not be unusual to enter properties as a block of text. If the application server provides a single area to enter all the properties, they might be listed like this:

serverName=localhost
databaseName=test
user=testuser
password=testpassword
Or, if semicolons are used as separators instead of newlines, it could look like this:
serverName=localhost;databaseName=test;user=testuser;password=testpassword