Zero to Hero
using Red Hat JBoss BRMS

Eric D. Schabell
JBoss Technology Evangelist
t: @ericschabell / e: erics@redhat.com
1
Today Part I
●

Basic training

●

The making of a hero

●

Questions

2
Basic training...

What is a BRMS?
Rules...
Processes...
3
JBoss BRMS
What is a rule?

●

●

●

4

In short, a rule is an premise and conclusion
● If 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”.
A rule operates on facts (data). In our case,
these facts are instances of objects in our
application.
JBoss BRMS
What is inferencing?
●

5

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?
●

6

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?
●

7

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?
●

8

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?
●

9

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
●

●

10

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.
A Business Process
An activity or set of activities that will accomplish a specific organizational goal...
Problems:
• Inefficient manual processes
• Error prone
• Non-repeatable
• Lack of visibility
• Hard to change

Shipping

Catalog

Financials

Inventory

Orders

11

Packaged Apps
(e.g. SAP)
The Solution

Catalog

Shipping

Packaged Apps

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

Benefits:

3. Manage user
participation...

12

•
•
•
•

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

4. Provide visibility
into process
execution data
Introducing JBoss Enterprise BRMS 5.3
A Single Distribution for Business Rules Management, Business Process
Management and Complex Event Processing
Features




Tools for business users and developers



13

Highly flexible and customizable
Open, standards-based

Benefits




Enables improved, automated business
processes & decisions
Enables business agility
BRMS Components
Business Events

Authoring Tools
for Business
Users

Enterprise
Applications
Repository

Business
Analysts

Event
Processor
Business
Process
Manager

Business
Rule
Definitions

Web Services

Rule
Engine

Java

Business
Data

Business
Users

Authoring Tools
for Developers

Developers

Business
Central

Operations

14
BRMS Components
Business Events

Authoring Tools
for Business
Users

Enterprise
Applications
Repository

Business
Analysts

Event
Processor
Business
Process
Manager

Business
Rule
Definitions

Web Services

Rule
Engine

Java

Business
Data

Business
Users

Authoring Tools
for Developers

Developers

Business
Central

Operations

15
BRMS Components
Business Events

Authoring Tools
for Business
Users

Enterprise
Applications
Repository

Business
Analysts

Event
Processor
Business
Process
Manager

Business
Rule
Definitions

Web Services

Rule
Engine

Java

Business
Data

Business
Users

Authoring Tools
for Developers

Developers

Business
Central

Operations

16
BRMS Components
Business Events

Authoring Tools
for Business
Users

Enterprise
Applications
Repository

Business
Analysts

Event
Processor
Business
Process
Manager

Business
Rule
Definitions

Web Services

Rule
Engine

Java

Business
Data

Business
Users

Authoring Tools
for Developers

Developers

Business
Central

Operations

17
BRMS Components
Business Events

Authoring Tools
for Business
Users

Enterprise
Applications
Repository

Business
Analysts

Event
Processor
Business
Process
Manager

Business
Rule
Definitions

Web Services

Rule
Engine

Java

Business
Data

Business
Users

Authoring Tools
for Developers

Developers

Business
Central

Operations

18
The making of a hero...

19
Customer Evaluation Demo

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

Rewards Approval Extended

https://github.com/eschabell/brms-rewards-demo
21
A look into the
crystal ball at JBoss
BRMS & BPM Suite
22
BPMS 6 business modeling tools
Analysis & Modeling

•
•
•
•
•
•

Business
Analysts

Process models.
Data models.
Forms.
Business Rules.
Create dashboards.
Simulation.

Develop & Deploy

Developers / IT

End
users

Managers
23

•
•
•
•

Manage dependencies
Deployment methodology
Versioning
Develop code

3. Execute
• Task list
• Process instance tracking
• Custom applications

4. Monitoring, auditing and analysis (BAM)
•
Dashboard interaction
•
KPI monitoring.
•
Process auditing.
•
Reporting .
24
jBPM Process dashboard

25
jBPM Process dashboard – selected process

26
Business Activity Monitoring

$ rhc app create -t jbossas-7 --from-code
git://github.com/eschabell/openshift-bpm-bam-dashboard.git
bam
Setup user login:
$ rhc app show bam
$ scp bampreview/.openshift/config/bam-*.properties
xxxxxxxxxx@baminthe.rhcloud.com:~/jbossas/standalone/configuration/
http://bam-$your_domain.rhcloud.com (u:erics / p:erics)

27
JBoss BPM v6 Designer Demo

$ rhc app create -t jbossas-7 --from-code
git://github.com/eschabell/openshift-bpm-process-designer.git
designer
http://designer-$your_domain.rhcloud.com (follow link)
http://editor-$your_domain.rhcloud.com/designer (u:erics / p:erics)

28
●

JBoss BRMS
●

●

Customer Evaluation Demo
●

●

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

Rewards Demo
●

●

http://www.redhat.com/products/jbossenterprisemiddleware/business-rules

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

Blogs
●
●

29

http://howtojboss.com/tag/brms5
http://www.schabell.org/search/label/BRMS

Zero to Hero Using Red Hat JBoss BRMS

  • 1.
    Zero to Hero usingRed Hat JBoss BRMS Eric D. Schabell JBoss Technology Evangelist t: @ericschabell / e: erics@redhat.com 1
  • 2.
    Today Part I ● Basictraining ● The making of a hero ● Questions 2
  • 3.
    Basic training... What isa BRMS? Rules... Processes... 3
  • 4.
    JBoss BRMS What isa rule? ● ● ● 4 In short, a rule is an premise and conclusion ● If 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”. A rule operates on facts (data). In our case, these facts are instances of objects in our application.
  • 5.
    JBoss BRMS What isinferencing? ● 5 We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)
  • 6.
    JBoss BRMS What isinferencing? ● 6 We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)
  • 7.
    JBoss BRMS What isinferencing? ● 7 We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)
  • 8.
    JBoss BRMS What isinferencing? ● 8 We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)
  • 9.
    JBoss BRMS What isinferencing? ● 9 We want to take all of our data (facts) and combine it with our knowledge (rules) and come up with some conclusions (inferencing)
  • 10.
    JBoss BRMS Inference Engine ● ● 10 Thebrain of a Production Rule System is an Inference Engine which matches facts against Production Rules. When matches are found, the rules actions are fired.
  • 11.
    A Business Process Anactivity or set of activities that will accomplish a specific organizational goal... Problems: • Inefficient manual processes • Error prone • Non-repeatable • Lack of visibility • Hard to change Shipping Catalog Financials Inventory Orders 11 Packaged Apps (e.g. SAP)
  • 12.
    The Solution Catalog Shipping Packaged Apps 1.Automate interactions with LoB Systems... 2. Drive the business process from a model... Benefits: 3. Manage user participation... 12 • • • • Efficient (less cost) Easy to change Fewer errors Improved visibility 4. Provide visibility into process execution data
  • 13.
    Introducing JBoss EnterpriseBRMS 5.3 A Single Distribution for Business Rules Management, Business Process Management and Complex Event Processing Features   Tools for business users and developers  13 Highly flexible and customizable Open, standards-based Benefits   Enables improved, automated business processes & decisions Enables business agility
  • 14.
    BRMS Components Business Events AuthoringTools for Business Users Enterprise Applications Repository Business Analysts Event Processor Business Process Manager Business Rule Definitions Web Services Rule Engine Java Business Data Business Users Authoring Tools for Developers Developers Business Central Operations 14
  • 15.
    BRMS Components Business Events AuthoringTools for Business Users Enterprise Applications Repository Business Analysts Event Processor Business Process Manager Business Rule Definitions Web Services Rule Engine Java Business Data Business Users Authoring Tools for Developers Developers Business Central Operations 15
  • 16.
    BRMS Components Business Events AuthoringTools for Business Users Enterprise Applications Repository Business Analysts Event Processor Business Process Manager Business Rule Definitions Web Services Rule Engine Java Business Data Business Users Authoring Tools for Developers Developers Business Central Operations 16
  • 17.
    BRMS Components Business Events AuthoringTools for Business Users Enterprise Applications Repository Business Analysts Event Processor Business Process Manager Business Rule Definitions Web Services Rule Engine Java Business Data Business Users Authoring Tools for Developers Developers Business Central Operations 17
  • 18.
    BRMS Components Business Events AuthoringTools for Business Users Enterprise Applications Repository Business Analysts Event Processor Business Process Manager Business Rule Definitions Web Services Rule Engine Java Business Data Business Users Authoring Tools for Developers Developers Business Central Operations 18
  • 19.
    The making ofa hero... 19
  • 20.
  • 21.
    Rewards Approval Rewards ApprovalExtended https://github.com/eschabell/brms-rewards-demo 21
  • 22.
    A look intothe crystal ball at JBoss BRMS & BPM Suite 22
  • 23.
    BPMS 6 businessmodeling tools Analysis & Modeling • • • • • • Business Analysts Process models. Data models. Forms. Business Rules. Create dashboards. Simulation. Develop & Deploy Developers / IT End users Managers 23 • • • • Manage dependencies Deployment methodology Versioning Develop code 3. Execute • Task list • Process instance tracking • Custom applications 4. Monitoring, auditing and analysis (BAM) • Dashboard interaction • KPI monitoring. • Process auditing. • Reporting .
  • 24.
  • 25.
  • 26.
    jBPM Process dashboard– selected process 26
  • 27.
    Business Activity Monitoring $rhc app create -t jbossas-7 --from-code git://github.com/eschabell/openshift-bpm-bam-dashboard.git bam Setup user login: $ rhc app show bam $ scp bampreview/.openshift/config/bam-*.properties xxxxxxxxxx@baminthe.rhcloud.com:~/jbossas/standalone/configuration/ http://bam-$your_domain.rhcloud.com (u:erics / p:erics) 27
  • 28.
    JBoss BPM v6Designer Demo $ rhc app create -t jbossas-7 --from-code git://github.com/eschabell/openshift-bpm-process-designer.git designer http://designer-$your_domain.rhcloud.com (follow link) http://editor-$your_domain.rhcloud.com/designer (u:erics / p:erics) 28
  • 29.
    ● JBoss BRMS ● ● Customer EvaluationDemo ● ● https://github.com/eschabell/brms-customer-evaluation-demo Rewards Demo ● ● http://www.redhat.com/products/jbossenterprisemiddleware/business-rules https://github.com/eschabell/brms-rewards-demo Blogs ● ● 29 http://howtojboss.com/tag/brms5 http://www.schabell.org/search/label/BRMS

Editor's Notes