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.
- From the WAR application WEB-INF/ directory,
open the web.xml file. Click the References tab.
Below the list of defined references, click Add.
- 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.
resource reference panel" />
- In the section marked WebSphere Bindings,
enter the JNDI name of your Feedback Datasource.

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