drools, harmon y remotes, and business rules

21
DROOLS, Harmony Remotes, and Business Rules Katanosh Morovat

Upload: majed

Post on 25-Feb-2016

33 views

Category:

Documents


1 download

DESCRIPTION

DROOLS, Harmon y Remotes, and Business Rules. Katanosh Morovat. Business Rules. This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation as a one package - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: DROOLS,  Harmon y Remotes, and Business Rules

DROOLS, Harmony Remotes,

and Business Rules

Katanosh Morovat

Page 2: DROOLS,  Harmon y Remotes, and Business Rules

This concept is a formal approach for identifying the

rules that encapsulate the structure, constraint, and control of the operation as a one package

Business Rules declare business structure or behavior of the business

Business rules describe the operations, definitions and constraints that exist in an organization

They include policies, requirements, and conditional statements that are used to determine the tactical actions that take place in the applications and systems

Business Rules

Page 3: DROOLS,  Harmon y Remotes, and Business Rules

They always resolve to true or false They are atomic They define the rules clearly and make sure

that rules don’t conflict

Business Rules' Features

Page 4: DROOLS,  Harmon y Remotes, and Business Rules

Static

A constraint or derivation rule that is applied to each individual state of the business

Dynamic A rule that is concerned to a request of actions

in response to events

Business Rules’ Groups

Page 5: DROOLS,  Harmon y Remotes, and Business Rules

Business rule could show the computation of

taxes for each employee’s wages

When Each employee gains less that $….. monthly

ThenTaxes is 0.

Business Rules- Example

Page 6: DROOLS,  Harmon y Remotes, and Business Rules

A statement of business rules falls into one of

four categories: Definition of business terms Facts Constrains Derivations

Business Rules Categories

Page 7: DROOLS,  Harmon y Remotes, and Business Rules

A software system that executes a set of

business rules that may come from several sources

Business rules are components of business rules engine

Business Rules Engine

Page 8: DROOLS,  Harmon y Remotes, and Business Rules

It might be executed in two different methods such

as: Forward chaining

This method typically starts with the available data and uses rules to extract more data until a goal is reached 

Backward chaining This method typically starts with a list of goals or a

hypothesis and works backwards from the consequent to the antecedent to search for available data that will support any of these consequents

Business Rules Engine’s Types

Page 9: DROOLS,  Harmon y Remotes, and Business Rules

A software system that is used to deploy,

monitor and maintain the variety and complexity of the business rules that are used by operational system within an organization

Business rules engine is generally provided as a component of business rules management system

Business Rules Management system

Page 10: DROOLS,  Harmon y Remotes, and Business Rules

It includes, at least: A repository, storing decision logic to be

externalized from application code Tools, using by both technical developer and

business experts to define and manage business rules

A runtime environment applications, using business rules engine, can execute and manage business rules within BRMS

Business Rules Management System

Page 11: DROOLS,  Harmon y Remotes, and Business Rules

DROOLS

Page 12: DROOLS,  Harmon y Remotes, and Business Rules

A software system includes several projects

which is prepared by Jboss company Business Rule Management System It has been implemented based on Charles

Forgy’s Rete algorithm It is written in java

DROOLS (cont.)

Page 13: DROOLS,  Harmon y Remotes, and Business Rules

It provides Declarative Programming It is flexible enough to match the semantics of

all problem domains with Domain Specific Languages (DSL) via XML using a schema to define the problem domain

It introduces the Business Logic integration Platform which provides a unified and integrated platform for Rules, Workflow and Event Processing

DROOLS (cont.)

Page 14: DROOLS,  Harmon y Remotes, and Business Rules

It consists of several project:

Drools Guvnor (business rules manager) Drools Expert (rules engine) Drools Flow (process/workflow) Drools Fusion (event processing/temporal

reasoning) Drools Planner (automated planning)

DROOLS - Projects

Page 15: DROOLS,  Harmon y Remotes, and Business Rules

It is a business rule manager which is a

combination of core drools and other tools A business rules manager allows managing

rules in a multi-user environment with user friendly interfaces

Guvnor is a web and network components for managing rules

Drools Guvnor

Page 16: DROOLS,  Harmon y Remotes, and Business Rules

Drools Expert is a declarative, rule based,

coding environment This allows users to focus on "what they want

to do", and not the "how to do this". It uses the AI concepts for defining rules

( knowledge Representation, Reasoning, and Expert System)

Drools Expert

Page 17: DROOLS,  Harmon y Remotes, and Business Rules

It provides workflow to the Drools platform A workflow or business process shows the

order of execution of several steps, Describes a complex composition of different tasks

Drools Flow empowers end users to specify, execute and monitor their business logic

Drools Flow

Page 18: DROOLS,  Harmon y Remotes, and Business Rules

It is the module which is in charge of the

enabling of the event processing capabilities An event processing concept deals with the

processing of multiple events with the goal of identifying the meaningful events among the all events

Event processing uses some techniques such as detection of complex patterns of many events, event correlation and abstraction, event hierarchies, and relationships between events

Drools Fusion

Page 19: DROOLS,  Harmon y Remotes, and Business Rules

Drools Planner optimizes planning to do more business

with less resources. For example Every organization faces planning

problems such as provide products or services with a limited set of constrained resources (employees, assets, time and money)

It solves use case, such as Agenda scheduling, Educational timetabling, Job shop scheduling and so on. These use cases are probably NP-complete, this means It's easy to verify a given solution to a problem in reasonable time, but it might not be an optimal solution

Drools Planner

Page 20: DROOLS,  Harmon y Remotes, and Business Rules

Home theater control

smartphone as a remote control

Smart Keyboard remote

Harmony Remotes

Page 21: DROOLS,  Harmon y Remotes, and Business Rules

Thank you