更新时间:2021-07-09 19:58:57
封面
版权信息
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Chapter 1. Rules Declarative Nature
What are rules?
Why do we use rules?
When should we use rules?
When not to use a rule engine
Summary
Chapter 2. Writing and Executing Rules
Setting up our environment
Creating our first Drools project
Writing and executing our first rule
The Rule language
Organizing our projects
Chapter 3. Drools Runtime
Understanding the Drools runtime instances
KieModule configurations (KieBases KieSessions & StatelessKieSessions)
KieScanner
Chapter 4. Improving Our Rule Syntax
Adding external interactions with global variables
Modifying the data in the working memory
Rule attributes
Controlling loops in rules
Special Drools operations
Working memory breakdown: the from clause
Drools syntactic sugar
Decorating our objects in memory
Logical insertion of elements
Rule inheritance
Chapter 5. Understanding KIE Sessions
Stateless and stateful Kie Sessions
Kie runtime components
Kie Base components
Chapter 6. Complex Event Processing
What is complex event processing?
Declaring CEP-based Rules
Event-driven architecture
Running CEP-based Scenarios
Drools CEP limitations
Chapter 7. Human-Readable Rules
Domain Specific Languages
Decision tables
Rule templates
PMML
Chapter 8. Rules' Testing and Troubleshooting
Create loosely coupled DRLs
Prefer KieHelper over a KieContainer classpath
Benefits of using globals
Debugging the left-hand side of a rule
Debugging the right-hand side of a rule
Reporting a bug in Drools
Chapter 9. Introduction to PHREAK
Introducing PHREAK
Special nodes in the network
Queries and backward-chaining
PHREAK improvements over RETE
Phreak Inspector
Chapter 10. Integrating Rules and Processes
jBPM – the process engine
Simple business process example
Drools and jBPM: integration patterns
Persistence and transactions
Chapter 11. Integrating Drools with our Apps
Architecture considerations
Integrating with the rest of an application
CDI integration
Spring integration
Camel integration
Kie Execution Server
Kie Workbench
Drools and beyond: extending our functionality
Index