Before running the sample application, you need to define a suitable JDBC connection pool that maps to the PointBase database server. You also need a JDBC resource that associates the JDBC references made in the sample application to the JDBC connection pool definition.
Through a web browser, access the administration server interface.
You might have to start the administration server if it is not running.
Select the Java tab in the server instance and click on JDBC Connection Pools
Click New, and select the JDBC driver, as shown in Figure 7-2: Selecting the JDBC Driver:
In the Add New JDBC Connection Pools page, specify the following settings and the rest unmodified:
jdbc-simple-pool as the name of the new connection pool.
jdbc:pointbase:server://localhost/sample as database name
PBPUBLIC as the user name
PBPUBLIC as the password
Transaction Isolation set to read-committed
Click OK and then Apply to save and apply your changes.