Prepare the personalized application

Before deploying applications that take advantage of the features of Portal Personalization, certain features must be configured in order to work properly.

Adding Resource References to Our Application

The Feedback and Likeminds components of Personalization both communicate with their databases via Java Datasources. Before using either of these components, create Resource References to the Datasources in the project. For IBM Rational Application Developer V6.0, use the following steps.

  1. From the WAR application WEB-INF/ directory, open the web.xml file. Click the References tab. Below the list of defined references, click Add.

  2. In the Add Reference panel, select Resource Reference and click Next. Complete the following fields in the Add Resource Reference panel and click Finish.

    • Name: jdbc/feedback

    • Type: javax.sql.Datasource

    • Authentication: Container

    • Sharing scope: Sharable

    • Description: This field is optional.

  3. In the section marked WebSphere Bindings, enter the JNDI name of the Feedback Datasource.

  4. Save the file

Repeat this process for the Likeminds Datasource. Change the name of the reference to jdbc/lmdbDS; all other settings are the same.