SlideShare une entreprise Scribd logo
1  sur  37
Best practices for using JBoss Drools James Taylor, CEO
Your presenters Claye Greene Managing DirectorTechnology Blue 15 years of decision-centric solution experience Decision Management strategist SOA practitioner Kristy Sanders Principal ConsultantTechnology Blue 15 years of decision-centric solution experience Decision Management architect and developer Drools practitioner Senior project leader and client liaison
Decision Management An approach or business discipline for automating and improving decision-making It improves day to day business results by Supporting Automating and Improving operational decisions It builds on existing enterprise applications to put data to work manage uncertainty increase transparency give the business control
©2009 Decision Management Solutions 4 5 core principles of decisioning Identify, separate and manage decisions Use business rules to define decisions Analytics to make decisions smarter No answer is static Decision-making is a process
©2009 Decision Management Solutions 5 JBoss Drools Drools 5 Rule Engine Web-based management framework (Guvnor) Ruleflow and workflow Event handling Two versions Community Edition JBoss Enterprise BRMS
Key takeaways ,[object Object]
Traditional benefits of open source technologies are not wholly applicable when considering open source Decision Management.
Successful open source Decision Management adoption requires both strategic and tactical perspective.
Success requires balancing expectations between open source benefits and Decision Management benefits.
Recent lessons learned can be used to perform the balancing act and create meaningful ROI.	Key takeaways Key takeaways from today’s webinar
Spotlight: open source Decision Management
Introduction Assessing the value of open source solutions:  the debate is longstanding, and the considerations are well-known. Introduction Is the solution easier to customize? Are there established, proven best-practices and solutions? Is it scalable, maintainable and performing? Is the product mature enough? Will it reduce my overall cost of ownership? Are there available resources to assist me? Can I reduce my dependency on vendors? Is there quality support available?
Introduction Top reasons enterprises are embracing open source solutions Introduction
Introduction Open source maturity From stand alone, to integration, to enterprise Introduction Maturity Time
Introduction Ready for prime time?  First, the strategic considerations. Decision Management requires a different perspective. 		Open source reasons are not wholly applicable. Introduction
Introduction Ready for prime time?  Next, the tactical considerations. Decision Management technologies like BRMS are arriving. 		JBoss Drools is the leader. Introduction Features: ,[object Object]
Decision Tables
Rule flows
Guided editor
Debug tools
API for integration
Multi-platform deployment,[object Object]
Best practice 1: Debunk the myths
Best practice 1: Debunk the myths Myth #1 	Open source solutions cost less Proven methodologies, practices and standards are key to lower TCO. Best practice 1: Debunk the myths Open source COTS Cost License Development Maintain TCO Perspective estimates from technical-oriented solution (estimated 92% TLC)
Best practice 1: Debunk the myths Myth #2 	Open source solutions are easier to customize While customizations might be easier, the cost of maintenance can skyrocket. Just because you can, doesn’t mean you should.  Customize judiciously. Best practice 1: Debunk the myths $
Best practice 1: Debunk the myths Myth # 3 	Free exchange of solutions, components and applications 						Decision Management enables 						strategic advantage over the 						competition. 						Our strategic advantage is our 						livelihood. Not all things are worth sharing. Best practice 1: Debunk the myths
Best practice 2: Know your audience
Best practice 2: Know your audience Technically-oriented implementation Best practice 2: Know your audience Business-oriented implementation
Best practice 2: Know your audience The business should play a critical path role in the BRMS solution. Don’t forget about the “Business” in Business Rules Management Systems Best practice 2: Know your audience
Best practice 3: Remember why you are here
Best practice 3: Remember why you are here Don’t forget about the “Decision” in Decision Management ,[object Object]
Focus on decisions, not rules.  Avoid J.A.B.O.R.  (Just A Bunch Of Rules)[jab-er] –noun : indistinct, nonsensical talk; gibberish ,[object Object]
Don’t forget about governance.
Don’t move your legacy application to a new platform.You are here to better manage your decisions, not manage more code. Best practice 3: Remember why you are here
Best practice 4: Avoid common rule writing pitfalls
Best practice 4: Avoid common rule writing pitfalls rule "initialize cross sell products" when 	$req:CISCrossSellProductServiceRequest(type=="web") 	$log:Logger() then $log.info("rule fired:  initialize cross sell products" ); 	ArrayList productList = $req.getProductList(); 	for (int i = 0; i< productList.size(); i++) { 		Product p = (Product)productList.get(i); calculateDaysSinceLastCS(p.lastCSDate); 		if (p.daysSinceLastCS <= p.minDaysBetweenCS) {  p.eligibleForCrossSell = true; 		} else { p.eligibleForCrossSell = false; 	} $log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); 	} 	update($req); end Best practice 4: Avoid common rule writing pitfalls Original Rule Illustrative example
Best practice 4: Avoid common rule writing pitfalls Best practice 4: Avoid common rule writing pitfalls Make rules atomic rule "initialize cross sell products" when 	$req:CISCrossSellProductServiceRequest(type=="web") 	$log:Logger() then $log.info("rule fired:  initialize cross sell products" ); 	ArrayList productList = $req.getProductList(); 	for (int i = 0; i< productList.size(); i++) { 	Product p = (Product)productList.get(i); 		calculateDaysSinceLastCS(p.lastCSDate); 		if (p.daysSinceLastCS <= p.minDaysBetweenCS) {  			p.eligibleForCrossSell = true; 		} 		else { 			p.eligibleForCrossSell = false; 		} 		$log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); 	} 	update($req); end Illustrative example

Contenu connexe

En vedette

Rule Engine Evaluation for Complex Event Processing
Rule Engine Evaluation for Complex Event ProcessingRule Engine Evaluation for Complex Event Processing
Rule Engine Evaluation for Complex Event ProcessingChandra Divi
 
Jboss drools 4 scope - benefits, shortfalls
Jboss drools   4 scope - benefits, shortfalls Jboss drools   4 scope - benefits, shortfalls
Jboss drools 4 scope - benefits, shortfalls Zoran Hristov
 
Developing Complex Business Rules with Drools Integration
Developing Complex Business Rules with Drools IntegrationDeveloping Complex Business Rules with Drools Integration
Developing Complex Business Rules with Drools IntegrationBonitasoft
 
How a turnpike commission manages client requests case study by WorkflowGen
How a turnpike commission manages client requests case study by WorkflowGenHow a turnpike commission manages client requests case study by WorkflowGen
How a turnpike commission manages client requests case study by WorkflowGenAlain Bezançon
 
How a major industrial group automated its purchase order processes
How a major industrial group automated its purchase order processesHow a major industrial group automated its purchase order processes
How a major industrial group automated its purchase order processesAlain Bezançon
 
2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools planner2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools plannerGeoffrey De Smet
 
Business Rule Engine
Business Rule EngineBusiness Rule Engine
Business Rule EngineAnkur Singhal
 
Introduction to Drools
Introduction to DroolsIntroduction to Drools
Introduction to Droolsgiurca
 
Open source and business rules
Open source and business rulesOpen source and business rules
Open source and business rulesGeoffrey De Smet
 
Jboss jbpm and drools 1 introduction to drools architecture
Jboss jbpm and drools   1 introduction to drools architectureJboss jbpm and drools   1 introduction to drools architecture
Jboss jbpm and drools 1 introduction to drools architectureZoran Hristov
 
Apache Beam (incubating)
Apache Beam (incubating)Apache Beam (incubating)
Apache Beam (incubating)Apache Apex
 
Drools5 Community Training Module 5 Drools BLIP Architectural Overview + Demos
Drools5 Community Training Module 5 Drools BLIP Architectural Overview + DemosDrools5 Community Training Module 5 Drools BLIP Architectural Overview + Demos
Drools5 Community Training Module 5 Drools BLIP Architectural Overview + DemosMauricio (Salaboy) Salatino
 
The Next Generation of Data Processing and Open Source
The Next Generation of Data Processing and Open SourceThe Next Generation of Data Processing and Open Source
The Next Generation of Data Processing and Open SourceDataWorks Summit/Hadoop Summit
 
Drools & jBPM Info Sheet
Drools & jBPM Info SheetDrools & jBPM Info Sheet
Drools & jBPM Info SheetMark Proctor
 

En vedette (20)

Rule Engine Evaluation for Complex Event Processing
Rule Engine Evaluation for Complex Event ProcessingRule Engine Evaluation for Complex Event Processing
Rule Engine Evaluation for Complex Event Processing
 
Jboss drools 4 scope - benefits, shortfalls
Jboss drools   4 scope - benefits, shortfalls Jboss drools   4 scope - benefits, shortfalls
Jboss drools 4 scope - benefits, shortfalls
 
Developing Complex Business Rules with Drools Integration
Developing Complex Business Rules with Drools IntegrationDeveloping Complex Business Rules with Drools Integration
Developing Complex Business Rules with Drools Integration
 
Drools expert-docs
Drools expert-docsDrools expert-docs
Drools expert-docs
 
How a turnpike commission manages client requests case study by WorkflowGen
How a turnpike commission manages client requests case study by WorkflowGenHow a turnpike commission manages client requests case study by WorkflowGen
How a turnpike commission manages client requests case study by WorkflowGen
 
Best practices webinar
Best practices webinarBest practices webinar
Best practices webinar
 
How a major industrial group automated its purchase order processes
How a major industrial group automated its purchase order processesHow a major industrial group automated its purchase order processes
How a major industrial group automated its purchase order processes
 
2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools planner2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools planner
 
Business Rule Engine
Business Rule EngineBusiness Rule Engine
Business Rule Engine
 
Introduction to Drools
Introduction to DroolsIntroduction to Drools
Introduction to Drools
 
Open source and business rules
Open source and business rulesOpen source and business rules
Open source and business rules
 
Jboss jbpm and drools 1 introduction to drools architecture
Jboss jbpm and drools   1 introduction to drools architectureJboss jbpm and drools   1 introduction to drools architecture
Jboss jbpm and drools 1 introduction to drools architecture
 
FOSS in the Enterprise
FOSS in the EnterpriseFOSS in the Enterprise
FOSS in the Enterprise
 
Drools & jBPM Workshop London 2013
Drools & jBPM Workshop London 2013Drools & jBPM Workshop London 2013
Drools & jBPM Workshop London 2013
 
Drools BeJUG 2010
Drools BeJUG 2010Drools BeJUG 2010
Drools BeJUG 2010
 
Apache Beam (incubating)
Apache Beam (incubating)Apache Beam (incubating)
Apache Beam (incubating)
 
ieeecloud2016
ieeecloud2016ieeecloud2016
ieeecloud2016
 
Drools5 Community Training Module 5 Drools BLIP Architectural Overview + Demos
Drools5 Community Training Module 5 Drools BLIP Architectural Overview + DemosDrools5 Community Training Module 5 Drools BLIP Architectural Overview + Demos
Drools5 Community Training Module 5 Drools BLIP Architectural Overview + Demos
 
The Next Generation of Data Processing and Open Source
The Next Generation of Data Processing and Open SourceThe Next Generation of Data Processing and Open Source
The Next Generation of Data Processing and Open Source
 
Drools & jBPM Info Sheet
Drools & jBPM Info SheetDrools & jBPM Info Sheet
Drools & jBPM Info Sheet
 

Plus de Decision Management Solutions

Increasing Productivity in Insurance Operations with Digital Decisioning
Increasing Productivity in Insurance Operations with Digital DecisioningIncreasing Productivity in Insurance Operations with Digital Decisioning
Increasing Productivity in Insurance Operations with Digital DecisioningDecision Management Solutions
 
Backward Engineering: Plan Machine Learning Deployment in Reverse
Backward Engineering: Plan Machine Learning Deployment in ReverseBackward Engineering: Plan Machine Learning Deployment in Reverse
Backward Engineering: Plan Machine Learning Deployment in ReverseDecision Management Solutions
 
Simplifying Complex Processes with Decision Management
Simplifying Complex Processes with Decision ManagementSimplifying Complex Processes with Decision Management
Simplifying Complex Processes with Decision ManagementDecision Management Solutions
 
Mind The Gap - Refinements to DMN 1.1 Suggested by Real-World Experience
Mind The Gap - Refinements to DMN 1.1 Suggested by Real-World ExperienceMind The Gap - Refinements to DMN 1.1 Suggested by Real-World Experience
Mind The Gap - Refinements to DMN 1.1 Suggested by Real-World ExperienceDecision Management Solutions
 
Bringing clarity to analytics projects with decision modeling: a leading prac...
Bringing clarity to analytics projects with decision modeling: a leading prac...Bringing clarity to analytics projects with decision modeling: a leading prac...
Bringing clarity to analytics projects with decision modeling: a leading prac...Decision Management Solutions
 
Analytics Teams: 5 Things You Need to Know Before You Deploy Your Model
Analytics Teams: 5 Things You Need to Know Before You Deploy Your ModelAnalytics Teams: 5 Things You Need to Know Before You Deploy Your Model
Analytics Teams: 5 Things You Need to Know Before You Deploy Your ModelDecision Management Solutions
 
3 Reasons to Adopt Decision Modeling in your BRMS Program
3 Reasons to Adopt Decision Modeling in your BRMS Program3 Reasons to Adopt Decision Modeling in your BRMS Program
3 Reasons to Adopt Decision Modeling in your BRMS ProgramDecision Management Solutions
 
Analytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You ModelAnalytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You ModelDecision Management Solutions
 
4 Reasons to Start with Decision Modeling on Your First BRMS Project
4 Reasons to Start with Decision Modeling on Your First BRMS Project4 Reasons to Start with Decision Modeling on Your First BRMS Project
4 Reasons to Start with Decision Modeling on Your First BRMS ProjectDecision Management Solutions
 

Plus de Decision Management Solutions (20)

Customer digitaldecisioningfinal
Customer digitaldecisioningfinalCustomer digitaldecisioningfinal
Customer digitaldecisioningfinal
 
Introduction to Digital Decisioning
Introduction to Digital DecisioningIntroduction to Digital Decisioning
Introduction to Digital Decisioning
 
Introduction to Digital Decisioning
Introduction to Digital DecisioningIntroduction to Digital Decisioning
Introduction to Digital Decisioning
 
Increasing Productivity in Insurance Operations with Digital Decisioning
Increasing Productivity in Insurance Operations with Digital DecisioningIncreasing Productivity in Insurance Operations with Digital Decisioning
Increasing Productivity in Insurance Operations with Digital Decisioning
 
Backward Engineering: Plan Machine Learning Deployment in Reverse
Backward Engineering: Plan Machine Learning Deployment in ReverseBackward Engineering: Plan Machine Learning Deployment in Reverse
Backward Engineering: Plan Machine Learning Deployment in Reverse
 
Five Reasons to Fire Your Rules Consultant
Five Reasons to Fire Your Rules ConsultantFive Reasons to Fire Your Rules Consultant
Five Reasons to Fire Your Rules Consultant
 
3 Secrets to Becoming a Predictive Enterprise
3 Secrets to Becoming a Predictive Enterprise3 Secrets to Becoming a Predictive Enterprise
3 Secrets to Becoming a Predictive Enterprise
 
Delivering the Business Value of Analytics
Delivering the Business Value of Analytics Delivering the Business Value of Analytics
Delivering the Business Value of Analytics
 
What is a claims handling pilot?
What is a claims handling pilot?What is a claims handling pilot?
What is a claims handling pilot?
 
Simplifying Complex Processes with Decision Management
Simplifying Complex Processes with Decision ManagementSimplifying Complex Processes with Decision Management
Simplifying Complex Processes with Decision Management
 
3 Critical Elements of a Digital Business Platform
3 Critical Elements of a Digital Business Platform3 Critical Elements of a Digital Business Platform
3 Critical Elements of a Digital Business Platform
 
The role of decision models in analytic excellence
The role of decision models in analytic excellenceThe role of decision models in analytic excellence
The role of decision models in analytic excellence
 
Mind The Gap - Refinements to DMN 1.1 Suggested by Real-World Experience
Mind The Gap - Refinements to DMN 1.1 Suggested by Real-World ExperienceMind The Gap - Refinements to DMN 1.1 Suggested by Real-World Experience
Mind The Gap - Refinements to DMN 1.1 Suggested by Real-World Experience
 
Bringing clarity to analytics projects with decision modeling: a leading prac...
Bringing clarity to analytics projects with decision modeling: a leading prac...Bringing clarity to analytics projects with decision modeling: a leading prac...
Bringing clarity to analytics projects with decision modeling: a leading prac...
 
Analytics Teams: 5 Things You Need to Know Before You Deploy Your Model
Analytics Teams: 5 Things You Need to Know Before You Deploy Your ModelAnalytics Teams: 5 Things You Need to Know Before You Deploy Your Model
Analytics Teams: 5 Things You Need to Know Before You Deploy Your Model
 
3 Reasons to Adopt Decision Modeling in your BRMS Program
3 Reasons to Adopt Decision Modeling in your BRMS Program3 Reasons to Adopt Decision Modeling in your BRMS Program
3 Reasons to Adopt Decision Modeling in your BRMS Program
 
Analytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You ModelAnalytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You Model
 
4 Reasons to Start with Decision Modeling on Your First BRMS Project
4 Reasons to Start with Decision Modeling on Your First BRMS Project4 Reasons to Start with Decision Modeling on Your First BRMS Project
4 Reasons to Start with Decision Modeling on Your First BRMS Project
 
DecisionsFrst Modeler and Red Hat JBoss BRMS
DecisionsFrst Modeler and Red Hat JBoss BRMSDecisionsFrst Modeler and Red Hat JBoss BRMS
DecisionsFrst Modeler and Red Hat JBoss BRMS
 
DecisionsFirst Modeler and IBM ODM Demonstration
DecisionsFirst Modeler and IBM ODM Demonstration DecisionsFirst Modeler and IBM ODM Demonstration
DecisionsFirst Modeler and IBM ODM Demonstration
 

Dernier

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Dernier (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Best Practices for JBoss Drools

  • 1. Best practices for using JBoss Drools James Taylor, CEO
  • 2. Your presenters Claye Greene Managing DirectorTechnology Blue 15 years of decision-centric solution experience Decision Management strategist SOA practitioner Kristy Sanders Principal ConsultantTechnology Blue 15 years of decision-centric solution experience Decision Management architect and developer Drools practitioner Senior project leader and client liaison
  • 3. Decision Management An approach or business discipline for automating and improving decision-making It improves day to day business results by Supporting Automating and Improving operational decisions It builds on existing enterprise applications to put data to work manage uncertainty increase transparency give the business control
  • 4. ©2009 Decision Management Solutions 4 5 core principles of decisioning Identify, separate and manage decisions Use business rules to define decisions Analytics to make decisions smarter No answer is static Decision-making is a process
  • 5. ©2009 Decision Management Solutions 5 JBoss Drools Drools 5 Rule Engine Web-based management framework (Guvnor) Ruleflow and workflow Event handling Two versions Community Edition JBoss Enterprise BRMS
  • 6.
  • 7. Traditional benefits of open source technologies are not wholly applicable when considering open source Decision Management.
  • 8. Successful open source Decision Management adoption requires both strategic and tactical perspective.
  • 9. Success requires balancing expectations between open source benefits and Decision Management benefits.
  • 10. Recent lessons learned can be used to perform the balancing act and create meaningful ROI. Key takeaways Key takeaways from today’s webinar
  • 11. Spotlight: open source Decision Management
  • 12. Introduction Assessing the value of open source solutions: the debate is longstanding, and the considerations are well-known. Introduction Is the solution easier to customize? Are there established, proven best-practices and solutions? Is it scalable, maintainable and performing? Is the product mature enough? Will it reduce my overall cost of ownership? Are there available resources to assist me? Can I reduce my dependency on vendors? Is there quality support available?
  • 13. Introduction Top reasons enterprises are embracing open source solutions Introduction
  • 14. Introduction Open source maturity From stand alone, to integration, to enterprise Introduction Maturity Time
  • 15. Introduction Ready for prime time? First, the strategic considerations. Decision Management requires a different perspective. Open source reasons are not wholly applicable. Introduction
  • 16.
  • 22.
  • 23. Best practice 1: Debunk the myths
  • 24. Best practice 1: Debunk the myths Myth #1 Open source solutions cost less Proven methodologies, practices and standards are key to lower TCO. Best practice 1: Debunk the myths Open source COTS Cost License Development Maintain TCO Perspective estimates from technical-oriented solution (estimated 92% TLC)
  • 25. Best practice 1: Debunk the myths Myth #2 Open source solutions are easier to customize While customizations might be easier, the cost of maintenance can skyrocket. Just because you can, doesn’t mean you should. Customize judiciously. Best practice 1: Debunk the myths $
  • 26. Best practice 1: Debunk the myths Myth # 3 Free exchange of solutions, components and applications Decision Management enables strategic advantage over the competition. Our strategic advantage is our livelihood. Not all things are worth sharing. Best practice 1: Debunk the myths
  • 27. Best practice 2: Know your audience
  • 28. Best practice 2: Know your audience Technically-oriented implementation Best practice 2: Know your audience Business-oriented implementation
  • 29. Best practice 2: Know your audience The business should play a critical path role in the BRMS solution. Don’t forget about the “Business” in Business Rules Management Systems Best practice 2: Know your audience
  • 30. Best practice 3: Remember why you are here
  • 31.
  • 32.
  • 33. Don’t forget about governance.
  • 34. Don’t move your legacy application to a new platform.You are here to better manage your decisions, not manage more code. Best practice 3: Remember why you are here
  • 35. Best practice 4: Avoid common rule writing pitfalls
  • 36. Best practice 4: Avoid common rule writing pitfalls rule "initialize cross sell products" when $req:CISCrossSellProductServiceRequest(type=="web") $log:Logger() then $log.info("rule fired: initialize cross sell products" ); ArrayList productList = $req.getProductList(); for (int i = 0; i< productList.size(); i++) { Product p = (Product)productList.get(i); calculateDaysSinceLastCS(p.lastCSDate); if (p.daysSinceLastCS <= p.minDaysBetweenCS) { p.eligibleForCrossSell = true; } else { p.eligibleForCrossSell = false; } $log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); } update($req); end Best practice 4: Avoid common rule writing pitfalls Original Rule Illustrative example
  • 37. Best practice 4: Avoid common rule writing pitfalls Best practice 4: Avoid common rule writing pitfalls Make rules atomic rule "initialize cross sell products" when $req:CISCrossSellProductServiceRequest(type=="web") $log:Logger() then $log.info("rule fired: initialize cross sell products" ); ArrayList productList = $req.getProductList(); for (int i = 0; i< productList.size(); i++) { Product p = (Product)productList.get(i); calculateDaysSinceLastCS(p.lastCSDate); if (p.daysSinceLastCS <= p.minDaysBetweenCS) { p.eligibleForCrossSell = true; } else { p.eligibleForCrossSell = false; } $log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); } update($req); end Illustrative example
  • 38. Best practice 4: Avoid common rule writing pitfalls rule "initialize cross sell products" when $req:CISCrossSellProductServiceRequest(type=="web") $log:Logger() then $log.info("rule fired: initialize cross sell products" ); ArrayList productList = $req.getProductList(); for (int i = 0; i< productList.size(); i++) { Product p = (Product)productList.get(i); calculateDaysSinceLastCS(p.lastCSDate); if (p.daysSinceLastCS <= p.minDaysBetweenCS) { p.eligibleForCrossSell = true; } else { p.eligibleForCrossSell = false; } $log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); } update($req); end Best practice 4: Avoid common rule writing pitfalls No nested if statements Illustrative example
  • 39. Best practice 4: Avoid common rule writing pitfalls rule "initialize cross sell products" when $req:CISCrossSellProductServiceRequest(type=="web") $log:Logger() then $log.info("rule fired: initialize cross sell products" ); ArrayList productList = $req.getProductList(); for (int i = 0; i< productList.size(); i++) { Product p = (Product)productList.get(i); calculateDaysSinceLastCS(p.lastCSDate); if (p.daysSinceLastCS <= p.minDaysBetweenCS) { p.eligibleForCrossSell = true; } else { p.eligibleForCrossSell = false; } $log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); } update($req); end Best practice 4: Avoid common rule writing pitfalls No business logic in functions Illustrative example
  • 40. Best practice 4: Avoid common rule writing pitfalls rule "initialize cross sell products" when $req:CISCrossSellProductServiceRequest(type=="web") $log:Logger() then $log.info("rule fired: initialize cross sell products" ); ArrayList productList = $req.getProductList(); for (int i = 0; i< productList.size(); i++) { Product p = (Product)productList.get(i); calculateDaysSinceLastCS(p.lastCSDate); if (p.daysSinceLastCS <= p.minDaysBetweenCS) { p.eligibleForCrossSell = true; } else { p.eligibleForCrossSell = false; } $log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); } update($req); end Best practice 4: Avoid common rule writing pitfalls Use event listeners Illustrative example
  • 41. Best practice 4: Avoid common rule writing pitfalls rule "initialize cross sell products" when $req:CISCrossSellProductServiceRequest(type=="web") $log:Logger() then $log.info("rule fired: initialize cross sell products" ); ArrayList productList = $req.getProductList(); for (int i = 0; i< productList.size(); i++) { Product p = (Product)productList.get(i); calculateDaysSinceLastCS(p.lastCSDate); if (p.daysSinceLastCS <= p.minDaysBetweenCS) { p.eligibleForCrossSell = true; } else { p.eligibleForCrossSell = false; } $log.info(" eligibleForCrossSell =“ + p.eligibleForCrossSell ); } update($req); end Best practice 4: Avoid common rule writing pitfalls Flatten object model Illustrative example
  • 42. Best practice 4: Avoid common rule writing pitfalls rule “calculate days since last cross sell" when $req:CISCrossSellProductServiceRequest(type=="web") $product:Product(daysSinceLastCS == 0) then int days = (today.getTime() - $product.getTime()) / (1000L*60L*60L*24L); modify( $product ) { setDaysSinceLastCS(days) }; end rule “determine if eligibile for cross sell" when $req:CISCrossSellProductServiceRequest(type=="web") $product:Product(daysSinceLastCS > 0, daysSinceLastCS <= minDaysBetweenCS) then modify( $product ) { setEligibileForCrossSell(true) }; end Best practice 4: Avoid common rule writing pitfalls Refactored When in doubt, increase rule count and reduce rule complexity
  • 43. Best practice 5: Preserve the past to predict the future
  • 44. Best practice 5: Preserve the past to predict the future Best practice 5: Preserve the past to predict the future Tracking, storing and analyzing decision outcome data is critical to creating smarter businesses. Drools Flow allows for the capture and storage of meaningful rule invocation data Business rules are update to improve the consistency, precision and efficiency of decisioning Business process Rule Author Customer Interaction Rule invocation data Determine Eligibility Analyze and adjust Rule Repository Business Intelligence Data Warehouse Customer Retention Business Analytics strategically address forecasted trends, opportunities and challenges Business Analytics
  • 45. Best practice 6: Consider your environment
  • 46. Best practice 6: Consider your environment Standalone or integrated? Knowing how you will use Drools is critical to making the right design decisions. Best practice 6: Consider your environment
  • 47.
  • 48. Don’t forget about the “Business” in Business Rules Management Systems
  • 49. Don’t forget the “Decision” in Decision Management
  • 50. Avoid J.A.B.O.R. = Just A Bunch Of Rules
  • 51. Follow rule writing best practices
  • 55. Additional information Decision Management Solutions & Technology Blue: Training workshops and strategy sessions Project assessments to accelerate projects Best practices and knowledge transfer Full support for systems implementation Real-world Drools experience ©2010 Decision Management Solutions 37 kristysanders@technologyblue.com clayegreene@technologyblue.com james@decisionmanagementsolutions.com

Notes de l'éditeur

  1. Little decisions add up so focus on operational or front-line decision makingThe purpose of information is to decide so put your data and analytics to workYou cannot afford to lock up your logic so externalize it as business rulesNo answer, no matter how good, is static so experiment, challenge, simulate, learnDecision Making is a process to be managed
  2. Answers to these questions are top priority for executives considering open source solutions.
  3. Not an all inclusive list, but represents the common reasons.
  4. This is general, but beginning to introduce Decision Management.
  5. The past few years have seen open source Decision Management solutions reach a level of viability that these same considerations become critical for decision-makers.But Decision Management requires a deeper level of consideration. Traditional open source factors are not wholly applicable when considering open source Decision Management adoption. Making the right choice requires a new perspective with both tactical and strategic focus.Common Decision Management business objectives such as increased collaboration, business ownership, reduced IT spending are completely dependent on not only the technology selection, but the tactical implementation of the technology as well.
  6. Fortunately, viable solutions such as JBoss Drools have come available at a time in which decision-makers can base their technology selection on a plethora of open source lessons learned and real-world pros and cons.
  7. How do we balance benefits of Open Source Decision Management with the benefits of Decision Management?Throughout our JBoss Drools implementation experience, we have worked with clients to balance the expectations of open source solutions with S.M.A.R.T. business objectives. We have transformed our experience into a list of best practices for implementing JBoss Drools. However this list is wholly applicable to any open source Decision Management technology.Our best practices are strategic and tactical – you have to make good decisions about how you’re using the technology, else lose the value of either open source or decision management.
  8. Many implementers find that total cost of ownership can actually be higher with open source DM solutions.“Free is not free”Open source is free, as in “freedom”, not free, as in “gratis”.Gartner announced measurements of 92% of total lifetime costs are spent in maintenance; only 8% in development.Research shows there is much more parity than believed
  9. Just because you can, doesn’t mean you should.Many implementers go overboard with the customizations just because they can, not because they should.While customizations might be easier, the cost of maintenance can skyrocket.
  10. Business rules are business assets that can be authored and maintained by either technical or business resources.Regardless of who “owns” the implementation, business rules should always be understandable by subject matter experts.Business rules are easily written by java coders. This can lead to not keeping the business first because it’s easier, faster, etc for developers to just write the code. But this obviously doesn’t empower the business. If your goal is to empower the business, use the tools and technologies that JBoss provides to truly empower the business (make mention of guvnor (sp?) here).
  11. 1.  Related to slide 19drools technical environment is very technical Easy to make it too complex Easy to end up with one large collection of rules that business people can&apos;t read, let alone understand 2.  Refactored rule slidetakeaway (when in doubt, write more simpler rules)When it comes to knowing your audience, the business should always play a critical role in solution maintenance. In fact, when we look at common reasons why BRMS projects fail, we see a trend. Notice that the technology capabilities is rarely an issue. Most often it is related to not strategically and tactically engaging the business in the solution.The bottom line, don’t forget about the “Business” in Business Rules Management Systems.
  12. Decision Management Solutions can help youFind the right decisions to apply business rules, analyticsImplement a decision management blueprintDefine a strategy for business rule or analytic adoptionYou are welcome to email me directly, james at decision management solutions.com or you can go to decision management solutions.com / learn more. There you’ll find links to contact me, check out the blog and find more resources for learning about Decision Management.