Developing BRBeans

Why and when to perform this task

Although the development tasks in this article are shown in sequential order, the exact sequence is left to your discretion. In particular, you might choose to create the business rules before or after the trigger point is placed. Also, you can write the rule implementor before or after creating the actual business rules. However, if you do not have the rule implementor at the time that the business rule is created, then you cannot complete the rule implementor field or the initialization parameters in the rule. However, you can leave the business rule marked as not ready until you can complete that information. For this reason, we have chosen to list the task of writing the rule implementor first. Complete the following tasks to develop Business Rule Beans:

Steps for this task

  1. Determining where to place the trigger point
    Determine where there are points of variability and where business logic must be externalized as part of application analysis and design process.
  2. Placing a trigger point in the application code
    Add code to the application to invoke the trigger point framework, to find business rules, and to fire the rules.
  3. Administering strategy objects to control triggers
    Control the process of triggering the rules using a set of strategy objects.
  4. Implementing the business rules
    Use a rule implementor, written in Java, to implement the BRBeans RuleImplementor interface. Also, create business rules invoked by the rule implementor.

What to do next

It is possible to develop your own customized strategy objects and rule implementors. See Customized strategy objects and Customized rule implementors for more information.

Related concepts
Customized strategy objects
Customized rule implementors
Related tasks
Using Business Rule Beans



Searchable topic ID:   tbrb_develop
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/brb/tasks/tbrb_develop.html

Library | Support | Terms of Use | Feedback