Step 1:Ensure the creation of a Web Application in the WebSphere Application Server.
Step 2: Create the SAMPLE database ( Create a SAMPLE tablespace in Oracle). The SAMPLE database contains the data used by all Samples and is seperate from the database used by IBM's WebSphere Application Server. We use the database name SAMPLE in these instructions but you can name the database as you desire.
Step 3: Create a user named wsdemo for the SAMPLE database. The wsdemo user is used to read from and write to the SAMPLE database. (For DB2, you will also create a wsdemo system user).
Step 4: Create the DataSource Object. The DataSource is used by the Sample applications to access the database, SAMPLE.
Step 4 - SubStep 1: Create a JDBC Driver
Step 4 - SubStep 2: Define the DataSource
Step 4 - SubStep 3: Install the driver
Step 5: Run the database servlet. New tables are added to the SAMPLE database and are populated with appropriate data.