Web applications are connected to the database to access the data. The simple procedure to do this is:
• Populate the database with the domain-specific data
• Create the data source in the application server
• Define a web application resource reference
• Map the resource reference to the database defined in the application server.