Singapore JBUG - JBoss BRMS Primer

Embed Size (px)

Citation preview

JBoss BRMS Primer Business Rules Management System (BRMS)

Eric D. SchabellJBoss Technology Evangelist

Singapore JBUG May 22, 2013

Agenda

Introduction

JBoss BRMS Biz Rules

Biz Process Management

Demo

Questions

Introducing JBoss Enterprise BRMS 5.3FeaturesHighly flexible and customizable

Tools for business users and developers

Open, standards-based

A Single Distribution for Business Rules Management, Business Process Management and Complex Event ProcessingBenefitsEnables improved, automated business processes & decisions

Enables business agility

BRMS ComponentsRepository

BusinessRule Definitions

Business Data

Enterprise Applications

Business AnalystsDevelopers

Business ProcessManagerRule EngineEvent ProcessorBusiness Users

Web Services

Java

Business Events

Authoring Tools for Business Users

Authoring Tools for Developers

Operations

Business Central

BRMS ComponentsRepository

BusinessRule Definitions

Business Data

Enterprise Applications

Developers

Business ProcessManagerRule EngineEvent ProcessorBusiness Users

Web Services

Java

Business Events

Authoring Tools for Business Users

Authoring Tools for Developers

Operations

Business Central

Business Analysts

BRMS ComponentsRepository

BusinessRule Definitions

Business Data

Enterprise Applications

Developers

Business ProcessManagerRule EngineEvent ProcessorBusiness Users

Web Services

Java

Business Events

Authoring Tools for Business Users

Authoring Tools for Developers

Operations

Business Central

Business Analysts

BRMS ComponentsRepository

BusinessRule Definitions

Business Data

Enterprise Applications

Developers

Business ProcessManagerRule EngineEvent ProcessorBusiness Users

Web Services

Java

Business Events

Authoring Tools for Business Users

Authoring Tools for Developers

Operations

Business Central

Business Analysts

BRMS ComponentsRepository

BusinessRule Definitions

Business Data

Enterprise Applications

Business Analysts

Business ProcessManagerRule EngineEvent ProcessorBusiness Users

Web Services

Java

Business Events

Authoring Tools for Business Users

Authoring Tools for Developers

Operations

Business Central

Developers

Agenda

Introduction

JBoss BRMS Biz Rules

Biz Process Management

Demo

Questions

JBoss BRMS
What is a rule?

In short, a rule is an premise and conclusionIf it is raining, then the ground must be wet

A rule is made of conditions and actions. When all the conditions are met, a rule may fire.

The conditions are collectively referred to as the LHS (left hand side) and the actions are referred to as the RHS (right hand side, or consequence).

A rule operates on facts (data). In our case, these facts are instances of objects in our application.

JBoss BRMS
What is inferencing?

We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)

JBoss BRMS
What is inferencing?

We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)

JBoss BRMS
What is inferencing?

We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)

JBoss BRMS
What is inferencing?

We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)

JBoss BRMS
What is inferencing?

We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)

JBoss BRMS
Inference Engine

The brain of a Production Rule System is an Inference Engine which matches facts against Production Rules.

When matches are found, the rules actions are fired.

Actions most often change the state of the facts, or perform some external action on the application.

AgendaRuleRuleRuleRuleRuleFactFactFactFactFactWorkingMemory3. Assert Facts

RuleBaseFactFactFactFactFactRuleRuleRuleRuleRule

2. Create4. Fire All Rules(5) activation
-> consequence1.Parse DRLActivationRuleFactActivationRuleFactFactJBoss BRMS
How it Works

Agenda

Introduction

JBoss BRMS Biz Rules

Biz Process Management

Demo

Questions

The BPMS SolutionCatalog

Shipping

1. Automate interactions with LoB Systems...

Packaged Apps

Catalog

Shipping

1. Automate interactions with LoB Systems...2. Drive the business process from a model...

Packaged AppsThe BPMS Solution

Catalog

Shipping

1. Automate interactions with LoB Systems...2. Drive the business process from a model...

3. Manage user
participation...

Packaged Apps

The BPMS Solution

Catalog

Shipping

1. Automate interactions with LoB Systems...2. Drive the business process from a model...

3. Manage user
participation...

4. Provide visibilityinto process
execution data

Packaged Apps

The BPMS Solution

Catalog

Shipping

1. Automate interactions with LoB Systems...2. Drive the business process from a model...

3. Manage user
participation...

4. Provide visibility into process
execution data

Benefits:
Efficient (less cost)
Easy to change
Fewer errors
Improved visibility

Packaged Apps

The BPMS Solution

Process Modeling

Web Based Modeling Tools

IDE Based Modeling Tools

Create BPMN2 Process Definition

Common Design Time Repository Store, Manage, Version

Create Process Definitions, Validate, Package, Deploy

Develop User forms, integrate other Business Assets (rules etc)

Import BPMN2 Definitions

Process Designer Highlights

Fully Integrated with BRMS Guvnor On-stop business modeling tool

Rich set of BPMN2 elements Drag and drop on canvas

Domain Specific Nodes Add your own tasks to the list

Generate PDF or PNG documents of process definition

Embeddable Designer Allows adopting designer in your own tool

Business Central Monitoring Processes

View all process definitions that are installed in knowledgebase

Instantiate a process instanceInline input Process Input form

Manage running processes Start, Terminate, Delete, Signal

Inspect State of a Process Instance and Execution Details

Business Central Managing Tasks

View Assigned (personal) tasks and Un-assigned (group) tasks

Claim a Task, Execute a Task, Release a Task

Complete inline user task forms

Agenda

Introduction

JBoss BRMS Biz Rules

Biz Process Management

Demo

Questions

Demo

https://github.com/eschabell/brms-customer-evaluation-demo

https://github.com/eschabell/brms-rewards-demo

JBoss BRMS, the future is now

Click to edit the title text format

Click to edit the outline text format

Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline LevelNinth Outline Level

Click to edit the title text format

Click to edit the outline text format

Click to edit the title text format

Click to edit the outline text format

Click to edit the title text format

Click to edit the outline text format

RED HAT INTERNAL ONLY

Click to edit the title text format

Click to edit the outline text format

Red Hat Confidential Partner NDA & Approval from Red Hat Partner Manager Required

Click to edit the outline text formatSecond Outline LevelThird Outline Level