Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Creating and deploying business rules

Using WebSphere Integration Developer and WebSphere Process Server

Neil Kolban (kolban@us.ibm.com), IT Specialist, EMC
Neil Kolban is a member of IBM's TechWorks organization. His goal is to make WebSphere Integration Developer and WebSphere Process Server as easy to understand as they are to use.

Summary:  This tutorial shows you how to use WebSphere® Integration Developer to create and deploy a solution that uses business rules, and then test that solution in WebSphere Process Server. At the conclusion of this tutorial, you will have a working set of business rules deployed.

Date:  11 Oct 2006
Level:  Intermediate PDF:  A4 and Letter (926 KB | 28 pages)Get Adobe® Reader®

Activity:  13023 views
Comments:  

Before you start

This tutorial illustrates the functions of WebSphere Process Server business rules. Business rules externalize simple algorithms and values that are used to affect the operation of a business process. These algorithms and values will change over time. They should not be embedded in code, which would make them difficult to change.

In this scenario, you are responsible for implementing a Frequent Flyer tracking system for a major airline. Whenever a passenger flies with this airline, they are awarded Frequent Flyer miles based on the actual miles flown. These miles are used to calculate redeemable awards. In addition, the passenger is given extra bonus miles based on their status in the Frequent Flyer program. There are three privileged statuses:

  • Gold
  • Silver
  • Platinum

For each of these, a different bonus mileage is applied:

  • Gold = 25%
  • Silver = 50%
  • Platinum = 100%

Our business leaders selectively add new status values as well as change the bonus award values from time to time. These are the variables in our business rules. Your task is to develop a service component that both implements and externalizes the requirement to quickly change the rules as the market changes. When completed, the service component looks like the diagram in Figure 1.


Figure 1. Logical function of rules
Figure 1. Logical function of rules

1 of 10 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=166970
TutorialTitle=Creating and deploying business rules
publish-date=10112006
author1-email=kolban@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.