Creating a Data Source

To create a Data Source to point to a Database and a Communication Driver:

  1. Expand the WebSphere Administrative Domain tree, and select Resources > JDBC Providers> <DatabaseDriverName> Data Sources

  2. Right-click Data Sources and select New from the shortcut menu that appears.

This figure displays the WebSphere Administrative Domain tree structure where Data Sources is selected and a shortcut menu displayed with the New command is selected.

The Data Source Properties dialog box for DB2 database

The Data Source Properties dialog box for Oracle database

You can test the connection with the Database with the entered user name or password by clicking Test Connection. If the Database name, user name or password is not correct, then you will be notified by a message. Otherwise, another message will confirm that the connection is successful.