WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

Preparing your 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 Your 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 your project. For IBM® Rational® Application Developer Version 6.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. Add reference panel

  3. 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.

    Add resource reference panel

  4. In the section marked WebSphere Bindings, enter the JNDI name of your Feedback Datasource. WebSphere bindings section showing JNDI name field

  5. 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.

 

Parent topic:

Personalization programming reference