Drools: The Business Logic Integration Platform
Transcript of Drools: The Business Logic Integration Platform
Drools: The Business Logic Integration Platform
Jim Tyrrelljtyrrell at redhat dot com
Principal JBoss Solutions ArchitectRed Hat
Sept 4, 2014
Tuesday, September 2, 14
There is still time to leaveAgenda
• What is Open Source?
• What is Drools?
• Why Business Rules?
• How does it help?
• Drools Components?
• Drools in Healthcare?
• Why Red Hat?
Tuesday, September 2, 14
What are your definitions?What is Open Source
• Legal:LGPL, GPL, Apache, etc etc
• FSF
• Free as in Beer, Free as in Free Speech
Tuesday, September 2, 14
Community ProjectWhat is Drools?
• drools.orgUpstream community home for all of the subprojects that make up the drools community.
Tuesday, September 2, 14
DefinitionsWhat is Drools?
• Rules
• Generally shorter duration and you get an answer quickly.
• Usually no human interaction during the processing.
• Process
• Could be short, but often have some sort of workflow.
• Think of Viso, or flowcharts.
• Probably have some human interaction.
Tuesday, September 2, 14
Why a rules engine?What is Drools?
• Business Rules Management System
• Decisions in
• Code
• 3 Ring Binders/Worksheets
• Peoples Heads
• Goal is Repeatable Rules
• Developers, Testers, Packagers and Analysts working together
Tuesday, September 2, 14
Why a Rules EngineWhat is Drools?
• Enables Developers, Analysts, Testers, and Packagers to be on the same page
• Free up Coders
• Rule Reuse in an Organization
• Enable Changes from Legislature/Analysts/Users
• Enforce Repeatably of Rules
Tuesday, September 2, 14
Organizational Reasons for a Rule EngineWhat is Drools?
• How many times is a Rule Duplicated across teams?
• How often does the legislature make changes?
• How often to the business users request a change?
• Is it important to have repeatable Rules?
• Teamwork doesn’t seem Work!!
Tuesday, September 2, 14
How does it help?What is Drools?
• Remove Code Duplication
• Abstract Away from Code
• Clean up Code
• Centralize Artifacts
• Unite Testing, Development, Analysts, Business Owners and more
Tuesday, September 2, 14
ComponentsDrools - Components
• Graduated Top Level Sub Projects
• Expert
• Fusion
• OptaPlanner
• jBPM
• Workbench
• Sub Projects
Tuesday, September 2, 14
ExpertDrools - Components
• Core of the engine
• DRL, DSL, Decision Tables, Excel, APIs, and more
Tuesday, September 2, 14
FusionDrools - Components
• Complex Event Processing
• Temporal Data
• Box Set Data
Tuesday, September 2, 14
OptaPlannerDrools - Components
Tuesday, September 2, 14
jBPMDrools - Components
Tuesday, September 2, 14
WorkbenchDrools - Components
Tuesday, September 2, 14
Teamwork Doesn’t Seem WorkDrools - Components
• WebUI
• For Coders, Analysts, Testers and more all working together
Tuesday, September 2, 14
EmbeddableDrools - Components
• Not a heavy run time
• Doesn’t prescribe for a thick server
• Rules/Process pushed to your applications
• Series of jar files via maven you can include in your project
• For Free
Tuesday, September 2, 14
Problems it AddressesDrools - Components
Tuesday, September 2, 14
What’s NewDrools - Components
Tuesday, September 2, 14
Typical WorkflowDrools - Components
Tuesday, September 2, 14
Critical Factors for the Modern EnterpriseDrools - JBPM
• Automate and optimize the business processes
• Manage complexity in the background
• Empower people to securely collaborate
• Extend human capabilities by automating low-value tasks and orchestrating system integration
• Monitor the entire business operations helping people make sense of complex data and take smart decisions quickly
• Implement rapid changes in the business processes to adapt to new circumstances
Tuesday, September 2, 14
jBPM 6 and BPMN 2.0JBPM
Tuesday, September 2, 14
User InterfacesDrools - jBPM
Tuesday, September 2, 14
Integration PointsDrools - jBPM
Tuesday, September 2, 14
JBPM 6 and BPMN 2.0jBPM
Tuesday, September 2, 14
In HealthcareDrools
• Vibrant Community
• Government Healthcare Agencies
• Medical Imaging Company
• X-Ray and CT Scans
• South America Story
Tuesday, September 2, 14
DemosDrools
• Opta Planner Demo
• jBPM Demo
Tuesday, September 2, 14
Mind the GapQuestions
Tuesday, September 2, 14
In ConclusionSummary
• Drools Vibrant Open Source Community
• Get involved drools.org
• Wide spread use in Healthcare
• You are not a first mover
• Light weight and embeddable engine
• Run the rules near your workloads on your existing infrastructure
• Get Involved today
Tuesday, September 2, 14