+

Search Tips   |   Advanced Search

Application object

An application object is a java object existing at a known location in the request context.

Define 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 using application objects that are not installed, 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 you define the application objects, the application objects are registered to the Personalization server through the Personalization browser. When using 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. From the wp_profile_root/ConfigEngine, run the following task:

The following topics contain an overview of the installed application objects. This overview includes descriptions and examples of using the application objects in rules that you create. To select the attributes that are used in the examples, enable the application objects. Instructions for enabling the location attributes associated with the Device application are also included in this section.