What is a business rule?



Similar documents
A standards-based approach to application integration

Deploying to WebSphere Process Server and WebSphere Enterprise Service Bus

Business Process Management IBM Business Process Manager V7.5

BUSINESS RULES CONCEPTS... 2 BUSINESS RULE ENGINE ARCHITECTURE By using the RETE Algorithm Benefits of RETE Algorithm...

Developing SOA solutions using IBM SOA Foundation

EVALUATION. WA1844 WebSphere Process Server 7.0 Programming Using WebSphere Integration COPY. Developer

Business Process Management Enabled by SOA

IBM SOA Foundation products overview

WebSphere Business Modeler

Introduction to WebSphere Process Server and WebSphere Enterprise Service Bus

WA1802 SOA for Architects Using WebSphere ESB. Student Labs. Web Age Solutions Inc.

Business Process Management Tampereen Teknillinen Yliopisto

SCA-based Enterprise Service Bus WebSphere ESB

IBM WebSphere ESB V6.0.1 Technical Product Overview

IBM Business Monitor. BPEL process monitoring

Tomáš Müller IT Architekt 21/04/2010 ČVUT FEL: SOA & Enterprise Service Bus IBM Corporation

SOA and ESB. Mark Jeynes IBM Software, Asia Pacific

Business Process Management IBM Business Process Manager V7.5

Acknowledgments. p. 55

Case Study: Process SOA Scenario

IBM WebSphere ILOG Rules for.net

WebSphere Business Modeler Overview

Business Process Management & SOA

Avoiding Web Services Chaos with WebSphere Service Registry and Repository

Enterprise IT Architectures SOA Part 2

CBM SOMA - SCA. Techniques and Standards to Increase Business and IT Flexibility. Jouko Poutanen Senior IT Architect, IBM Software Group

Connecting to WebSphere ESB and WebSphere Process Server

AN APPROACH TO DEVELOPING BUSINESS PROCESSES WITH WEB SERVICES IN GRID

The IBM Rational Software Development Platform..Role focused tools help simplification via Separation of Concerns

WebSphere Commerce V7 Feature Pack 2

P16_IBM_WebSphere_Business_Monitor_V602.ppt. Page 1 of 17

Atypical business integration project involves coordinating several different IT assets,

Increasing IT flexibility with IBM WebSphere ESB software.

Business Rule Standards -- Interoperability and Portability

Objectif. Participant. Prérequis. Pédagogie. Oracle SOA Suite 11g - Build Composite Applications. 5 Jours [35 Heures]

Technology WHITE PAPER

BONITA, The Open Source BPM Solution

WebSphere Business Monitor

Integration using IBM Solutions

Exam Name: IBM WebSphere Process Server V6.2,

Oracle Business Activity Monitoring 11g New Features

Decisions in IBM Websphere ILOG BRMS

WebSphere ESB Best Practices

WebSphere Business Monitor

SOA management challenges. After completing this topic, you should be able to: Explain the challenges of managing an SOA environment

What You Need to Know About Transitioning to SOA

Service Oriented Architecture Case: IBM SOA Reference Architecture

JOURNAL OF OBJECT TECHNOLOGY

IBM BUSINESS P ROCESS M ANAGER V7.5

IBM Software Group. IBM WebSphere Process Integration Technical Overview

Answers to Top BRMS Questions

BPM Scheduling with Job Scheduler

IBM WebSphere Process Server V7.0 Deployment Exam.

Oracle Service Bus Examples and Tutorials

10g versions followed on separate paths due to different approaches, but mainly due to differences in technology that were known to be huge.

Introduction to Service-Oriented Architecture for Business Analysts

Guiding SOA Evolution through Governance From SOA 101 to Virtualization to Cloud Computing

Enterprise Reference Architecture

Combining Service-Oriented Architecture and Event-Driven Architecture using an Enterprise Service Bus

ITG Software Engineering

Oracle SOA Suite 11g: Essential Concepts Student Guide

SOMA, RUP and RMC: the right combination for Service Oriented Architecture

TIBCO ActiveMatrix BPM SOA Concepts

Service Governance and Virtualization For SOA

Understanding class paths in Java EE projects with Rational Application Developer Version 8.0

Visualization Service Bus

Satisfying business needs while maintaining the

JOURNAL OF OBJECT TECHNOLOGY

SERVICE ORIENTED ARCHITECTURE

WebSphere Business Monitor

WebSphere IBM Product Lifecycle Management Content Pack for IBM WebSphere Business Services Fabric version 6.2. Reference Architecture Guide

Exporting from WebSphere Business Modeler Unit 23

Increasing IT flexibility with IBM WebSphere ESB software.

Sadržaj seminara: SOA Architecture. - SOA Business Challenges s: Billion Dollar Lock-In. - Integration Tools. - Point-to-Point Approach

What is BPM? Software tools enabling BPM

Oracle SOA Suite Then and Now:

How To Integrate Pricing Into A Websphere Commerce Pricing Integration

Converting Java EE Applications into OSGi Applications

A Software Development Platform for SOA

SOA, BPM, and Microsoft: A Pragmatic View

IIB for Everyone: Affordable Integration

Integration using INDEX, SAP and IBM WebSphere Business Integration

IBM WebSphere Enterprise Service Bus, Version 6.0.1

IBM WebSphere Adapter for FTP OutBound operation for SFTP protocol using public key authentication.

Oracle Database: Develop PL/SQL Program Units

Enterprise Service Bus

Analyses on functional capabilities of BizTalk Server, Oracle BPEL Process Manger and WebSphere Process Server for applications in Grid middleware

DEPLOYMENT ARCHITECTURE FOR JAVA ENVIRONMENTS

The webmethods ESB. The Foundation of your SOA. Jean-Michel Ghyoot, Principal Solution Architect, March 28, 2013

SAP NetWeaver BRM 7.3

Transcription:

Business rules Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 4.0.3

Unit objectives After completing this unit, you should be able to: Describe the advantages to externalizing business rules as business rule services Explain how the SCA programming model supports the development of business rule services Define a business rule Explain rule sets, decision tables and rule groups Identify situations where it is appropriate to use a rule set or a decision table Describe rule templates

What is a business rule? A business rule is an If-Then business decision. If discount == 0.10, Then total = total (total * discount) The job of a business rule is to: Evaluate an input (if-then) Change a state Return some value

Business rules examples Rent-a-car corporate discounts Able to change discount amounts during peak dates and times Insurance agency Ability to invoke a process for an insurance claim that happened in the past when the claim rules were different Updating the Web site of a company Schedule specific dates that a Web site will update to the next development version without the knowledge of the end user

Motivation for using business rules in SOA Loose-coupling between business rules and service management functions. For example, ESB mediations are decoupled from business rule logic. They allow the specification of the business logic in a simple form, easily understood by business analysts. Logic is specified as either: A sequence of if-test-then-actions clauses. A simple decision tree. Rule changes can be made without the intervention of expensive IT personnel. Details of business rules change frequently. While the structure of the rules will be specified using the WebSphere Integration Developer tooling, elements can be added or customized using Web tools (coming up). Changes can also be made to business rules dynamically.

Support for business rules in WebSphere Process Server and WebSphere Integration Developer Service Components Business processes Human tasks Business state machines Business Rules Supporting Services Interface maps Selectors Business object maps Relationships Adapters Mediation Flows SOA Core SCA Business objects Common event infrastructure WebSphere Application Server ND (J2EE runtime)

Roles, rule templates and the Business Rules Manager Tools used Role tasks Business Analyst Role More business skills Business Rules Manager Web Tool Discusses desired changes with Developer and implements business rule changes. More aware of business and customer demand changes. More technical skills Developer Role WebSphere Integration Developer Codes editable business rules. These rules are associated with templates in WebSphere Integratin Developer. Implements what the architect has laid out. More aware of technical development and architecture.

SCA component: Business rule group business rules are invoked through the business rule group. Rules with a common focus are gathered in a business rule group. A business rule group is an SCA component. Rules within a business rule group are represented as rule sets or as decision tables. The business rule group provides the interface for rule sets and decision tables. Run-time clients of a business rule group include BPEL, JSPs, SCA components and the Business Rules Manager Web Tool.

Rule sets There are two kinds of rules: If-then rules that determine the action to execute according to a condition of the incoming message. Action rules that execute an action regardless of what an incoming message is. A rule set is a series of one or more If-Then condition and action statements that are processed sequentially. Evaluated from first listed to last. Able to choose any number of Action/If-Then conditions. An Action does not have an If-Then condition, it simply initializes or sets variables. An If-Then condition can decide on a variable change. A rule set is associated with a specific interface and operation of a business rule group. It evaluates multiple conditions and can fire multiple rules. Might be needed when a rule is found true and fired, then more processing needs to be done.

Decision table Decision table represents a multi-conditional, nested If-Then structure. The decision table represents a tree decision structure in tabular form. A set of If conditions with Then actions are defined at the intersection points of the table. Conditions are evaluated in a nested order (tree). Evaluates one condition or more, fires only one rule. The rule that is fired consists of one or more pre-defined actions. For example, an action could consist of setting an output parameter to a certain value. Most rules will fall under a decision tree. Most business rules are called to fire one rule. A decision table is associated with a specific interface and operation of a business rule group.

Decision table Mortgage request example This decision table returns an approximate mortgage loan amount to the client based on the type of property they are looking for: Size of the home in square feet. Location (city or suburbs). Type of property (apartment or house).

When to use decision tables or rule sets Use decision tables when you: Have a rule with multiple clauses or variables in the conditional statements Want to fire only one rule Use rule sets when you: Have rules with a few clauses or variables in the conditional statements Want to fire multiple rules

Assembling business rules The assembly editor is used to connect business rules to calling SCA components. A rule group is dragged and dropped onto the Assembly Editor and wired to existing components. Exports are used to connect business rule to another module.

Unit summary Having completed this unit, you should be able to: Describe the advantages to externalizing business rules as business rule services Explain how the SCA programming model supports the development of business rule services Define a business rule Explain rule sets, decision tables and rule groups Identify situations where it is appropriate to use a rule set or a decision table Describe rule templates