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. The Feedback and LikeMinds components of Personalization both communicate with their databases using Java data sources. Before using either of these components, create resource references to the data sources in the project.For IBM Rational Application Developer to add resource references to the Feedback and LikeMinds data sources:
- 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
- Share scope: Sharable
- Description: This field is optional.
- In the section marked Bindings, enter the JNDI name of the Feedback Datasource.
- Save the file.
Repeat this process for the LikeMinds data source. Change the name of the reference to jdbc/lmdbDS. All other settings remain the same.