Home

 

Sample database

The ITSO Bank application is based on the ITSOBANK database. Refer to Setting up the ITSOBANK database for instructions on how to create the ITSOBANK database. You can either use the DB2 or Derby database. For simplicity, we use the built-in Derby database in this chapter.

To make it even simpler, we have placed the Derby database as part of the file you have downloaded for this chapter. The ITSOBANK folder under the C:\7672code\Database\Derby folder constitutes the Derby database. Therefore, the complete path or location of the database is:

C:\7672code\Database\Derby\ITSOBANK

This value has to be configured for the databaseName resource property for the data source we will define in the server (see Configuring the data source in the application server). Therefore, if you configure this location in the data source, you do not have to set up a sample Derby database, as it has already been done for you. Make sure that you test the data source connection.

ibm.com/redbooks