Contents for Using Rules in Portal Applications

 

Using Rules in Portal Applications

Overview

Personalization Components

Rules Overview

The Rules Service Process

Why is the Rules Service better than if/then?

Using the Rules Service

1. Create a Rule Set

Example: Using a Method in a Rule

Working with Invalid Rule Sets

2. Deploy a Rule Set

Deploying a Rule Set in WebLogic Workshop

Deploying a Rule Set in a Testing or Production Environment

3. Add Objects to Working Memory

Adding a Credit Score to Working Memory from an Integer

Adding a Credit Score to Working Memory from a User Profile

Type Mappings

4. Invoke the Rules Service to Evaluate Objects

Prerequisites for the Example

Insert the Control in the Page Flow

Using the Control to Determine the User's Path in the Page Flow

Rules Examples

5. Filter the Results

Filtering with the RulesManager EJB

6. Use the Results in Your Applications

Rules Service Samples