Visão Geral
Curso Drools Business Rule Management System. Drools é um software de gerenciamento de regras de negócios (BRMS) de código aberto escrito em Java. Este Curso Drools Business Rule Management System ensina os participantes como escrever, refinar e implantar regras do Drools.
Objetivo
Após realizar este Curso Drools Business Rule Management System você será capaz de:
- Entenda o que é Drools
- Compreenda as regras e o mecanismo de regras
- Trabalhe com os componentes no Drools
- Entenda a arquitetura do Drools
- Escreva código Drools com casos de uso em tempo real
- Entenda as sessões com estado e sem estado
- Entenda a sintaxe da linguagem Drools
Pre-Requisitos
- ter programação Java básica.
Materiais
Inglês + Exercícios + Lab Pratico
Conteúdo Programatico
Drools Introduction
- What is a Rule-Based Engine?
- Advantages of the rule engine
- When not to use rule engine?
- What is Drools?
- Environment setup
- First Drool program
- Creating Drools project with Eclipse Plugin
- Creating Rules-Based Maven Project from scratch
Drools Rules
- Rules basic structure
- Rules writing
- Rules syntax
- Left-Hand Side (When) syntax
- The Right-Hand side (then)
- Declarative approach
- Imperative versus Declarative implementation
- Rules execution chaining
- Atomicity of rules
- Ordering of rules
- Rule execution life cycle
- Complex Rule and multiple Rule
- Timers and Calendars
- Defining our rules and facts
- Translating rules into Drools Rule Language
- Selecting proper facts
- Basic operations and Drools specific operators
- Basic accumulate functions (sum, max, etc.)
- Intermediate calculations
- Inserting new facts
- Ordering rules
- Backward chaining
- Working with facts
- Manipulating facts in code
- Manipulating facts in rules
Drools Runtime
- KieModel and KieContainer
- KieModel configuration (KieBases, KieSession, and stateless KieSession)
- Stateless Knowledge Session
- Stateful knowledge Session
Improving Rule Syntax
- Modifying the data in the working memory
- The insert keyword
- The modify and update keywords
- The delete/retract keywords
- Rule Attributes
- Controlling which rule will execute
- Splitting rule groups with agenda group
- Other rule groups
- Rule dates management
- Special Drools operations
- Boolean and numeric operations
- Regex operations
- Collections (contains, memberOf)
Understanding KIE Sessions in Detail
- Stateless and stateful Kie Sessions
- Kie Runtime components
- Globals
- Way to parameterize the condition of a pattern
- Way to improve new information in a session in LHS
- Way to collect information from a session
- Kie Base components
- Functions
- Custom operators
- Custom accumulates functions
TENHO INTERESSE