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.
Repeat this process for the LikeMinds Datasource. Change the name of the reference to jdbc/lmdbDS; all other settings are the same.
- 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.
- In the section marked WebSphere Bindings, enter the JNDI name of your Feedback Datasource.
- Save the file.
Parent topic:
Personalization programming reference