blob: ad3bf0261670ca97a1c447ad9b58595d0e4006de [file] [log] [blame]
This test will create 2 jdbc connection pools referring to different shared db services. HR database is located on Derby database whereas Salary database is located on mysql database.
The init.sql and database.name configurations are specified while creating the shared service using create-shared-service command.A glassfish-resources.xml file is included in the WEB-INF directory that describes the jdbc-connection-pools/jdbc-resources to be used during provisioning.
The init.sql files are used by the service provisioning engine to load data into respective databases that are created during provisioning. Application reads data from these database tables and prints the contents onto a servlet.
Please refer ../../README.txt for more generic guidelines.