Application object
An application object is a java object existing at a known location in the request context. Defining an application object involves specifying the object's class name (as a Java class), and specifying a key (string key into a session attribute) to find it in the request context. Personalization calls methods on these objects during rule execution and uses their results in its decision making. Application Objects that implement the SelfInitializingApplicationObject interface are automatically instantiated as needed by Personalization.
Installed application objects
The Device, Referrer, Public Render Parameter, and Shared Data application objects are installed by default. By using installed application objects, we can skip the process of defining and registering application objects.
When we use application objects that are not installed, we must define the application objects using a set of Personalization wizards that are provided with IBM Rational Application Developer or develop application objects according to a set of public programming interfaces. After defining the application objects, the application objects are registered to the Personalization server through the Personalization browser. When use the installed application objects, you do not have to define or register the application objects.
The Device, Referrer, Public Render Parameter, and Shared Data application objects are installed and enabled with 8.5.
Optional: To enable the Content Targeting Dialog in virtual portals, use XML access to manually create the hidden Content Targeting Dialog page for each virtual portal.
cd WP_PROFILE/ConfigEngine ./xmlaccess.sh -in PORTAL_HOME/pzn.ui/wp.pzn.ui.actions/config/templates/DeployPages.xml \ -url http://localhost:10039/wps/config/your_virtual_portal_context \ -user admin_user_id \ -password admin_password
Subtopics
- Device application object
- Referrer application object
- Public Render Parameters application object
- Shared Data application object
Parent topic: Personalization termsPrevious topic: Campaigns
Next topic: Request Context