课程编码
droolsdslba
课程时长
21 小时 通常来说是3天,包括中间休息。
要求
Though not required, programming skills in any language strongly recommended (SQL, Java, C#, VBA, etc...)
课程概览
这个为期3天的课程旨在将Drools 6介绍给负责编写测试和规则的Business分析师。
本课程着重于创建纯逻辑。本课程结束后的分析师可以编写测试和逻辑,然后开发人员可以将其与业务应用程序进一步集成。
Machine Translated
课程大纲
Short introduction to rule engines
- Short history or Expert Systems and Rules Engine
- What is Artificial Intelligence?
- Forward vs Backward chaining
- Declarative vs procedure/oop
- Comparison of solutions
- When to use rule engines?
- When not to use rule engines?
- Alternatives to rule engines
KIE
- Declarative vs Traditional Fact Model
- Executing simple rules with simple tests
- Authoring Assets
- Decision tables
- Rule Templates
- Guided rule editor
- Testing, limits and benefits
- Developing simple process with rules
Writing rules in Eclipse
- Stateless vs Stateful sessions
- Selecting proper facts
- Basic operators and Drools specific operators)
- Basic accumulate functions (sum, max, etc...)
- Intermediate calculations
- Inserting new facts
- Exercises (lots of them)
Ordering rules with BPMN
- Salience
- Ruleflow vs BPMN 2.0
- Executing ruleset from a process
- Rules vs gateways
- Short overview of BPMN 2.0 features (transactions, exception handling)
- Comprehensive declarative business logic in Drools
Domain Specific Languages (DSL)
- Creating new languages
- Preparing DSL to be used by manages
- Basic Natural Language Processing (NLP) with DSL
- Strategies for writing DSL from rules
- Strategies for writing rules from DSL written by analysts
Unit testing
- Test strategies (test per case or per rule)
- Executing test automatically