[Enterprise Extensions only]

Creating a datasource and jdbc provider

Follow this procedure when installing on an AE platform, if you are using AEd, then see Installing a BRBeans jar file on AEd - overview

You need to make sure that you have a data source and JDBC provider specified for the database. You may use existing ones or create new ones. To create new ones, here are some steps you may follow:

  1. From the WebSphere Administrative Console, start the Create Data Source Wizard.
    1. In the Specifying Datasource Resources window, specify the following:
      • Name: brbds
      • Database name: brbeans (or the name of the database you are using)
    2. In the Specifying JDBC Provider window:
      • Select - Create a new JDBC provider
    3. In the Create New JDBC Provider window, specify the following:
      • Name:
        brbjdbc
      • Implementation class: - from button on right, select the class corresponding to the platform and database. So, for example, for Windows and DB2, select COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource.
    4. In the Completing the DataSource wizard panel, click Finish.
  2. In the WS Admin Console, expand the folders to Resources/JDBC Providers and click on brbjdbc
    1. Click on the Nodes tab in the right panel
    2. Click on the Install New button
    3. In the Install Driver window:
      • Click on the node for the driver. For the classpath, specify the classpath directory to the db driver.
      • Click Install.
    4. Click Apply.

You have successfully created a datasource and jdbc provider.

Proceed to Creating a server.