Master Drools Programming - Learn How to Write Drools Rules

Learn how to run and write rules for Drools Rule Engine using DRL files and how to work with spredsheet decision tables

4.19 (1706 reviews)
Udemy
platform
English
language
Programming Languages
category
instructor
Master Drools Programming - Learn How to Write Drools Rules
8,518
students
8 hours
content
Dec 2023
last update
$64.99
regular price

What you will learn

Program rules in Drools 7 domain specific language

Learn Drools language constructs like insert, modify, exists, forall, insertLogical, salience, agenda-group etc

Create spreadsheet decision tables and spreadsheet templates

What is Complex Event Processing and how Drools handles it

How to use rule templates (DRT or Freemarker) and run dynamically defined DRL

Understand different Drools running modes (active/passive, cloud/stream, sequential)

How Drools works internally and what to keep in mind for writing faster performing rules

Why take this course?

We learn Drools DSL (Drools programming language) and go over the most common DSL constructs. We move in small steps and gradually introduce new concepts so it is easier to follow even for a beginner.

This way we cover the most common Drools topics like:

  • what is a rule engine

  • what is the difference between a method and a rule

  • why one would use a rule engine instead of writing regular Java code

  • understanding of the when/then clauses

  • understanding in which order the rules fire and when the order is not known

  • how to control the execution using activation groups, agenda groups and salience

  • declaring variables in DRL

  • difference between stateless and stateful sessions

  • inserting facts and modifying existing objects in the session

  • cross products (similar to SQL join)

  • exists, forall and collect

  • using spreadsheet decision tables to create Drools rules

  • using templates for creating rules and feeding data into them from spreadsheets and other tabular data sources

  • complex event processing (CEP) in Drools

    • difference between fact and event

    • declaring facts and events in Java and inside DRL code

    • different rule execution modes (active/passive, cloud/stream, sequential)

    • time and length based sliding windows

    • entry-points

    • global variables

    • timers

  • how Drools internal algorithm Phreak works

This course comes with two Java projects that have all the code we work with during this course. You are encouraged to check out and run the code yourself to get a better understanding and experiment yourself with making changes to it. There are instructions on how to get the code running in IntelliJ, Eclipse, and VS Code.

After completing this course you have a better understanding of which kinds of problems could be solved with Drools and how to write the most common business rules in Drools DSL.

Screenshots

Master Drools Programming - Learn How to Write Drools Rules - Screenshot_01Master Drools Programming - Learn How to Write Drools Rules - Screenshot_02Master Drools Programming - Learn How to Write Drools Rules - Screenshot_03Master Drools Programming - Learn How to Write Drools Rules - Screenshot_04

Reviews

Sampada
November 7, 2023
Beginner and Intermediate lectures are well organized according to the topic. From no knowledge in drools to a confident level, this course helped a lot.
Michaels
August 27, 2023
Presenter is doing an excellent job going step by step, covering enough detail to understand the material.
Paul
August 21, 2023
Thank you for the course. I has learnt logs of different and new. I am newer to use the drools using the Business Central Workbench and I never programing to create the drools. So I need to learn how to use the drools in the kie server that created by the Java as your course for our service to call the REST web service to get the rule info from the created Url in the kie server. Hopefully, you understood my question. when I created the drool decision with the data object from the business central workbench. built and deploy the drl to kie server for the Rest API to calling. Thank you very much again. This is Paul Maeng paul.maeng@ingramcontent.com
Rajesh
May 12, 2023
Well organized and incrementally built course to help understand rule evolution in Drool for the use case discussed!
Alvaro
March 23, 2023
Yes, it was a good match. I was able to learn the key concepts about this framework and how to apply them in real projects
Rudolf
January 7, 2023
Really enjoyed this course. Drools is clearly explained and Juhan only focuses on the important parts of Drools, which makes it an excellent course to get started with Drools. Also the length of the course is excellent. I'm pretty sure that there is more to be told about Drools, but this has given me enough input to get started.
Anders
November 28, 2022
Would have liked a section about how to tie this to a database, in particular batches with many rows/objects.
Miteshkumar
November 21, 2022
Great course for beginners who wanted to know about the drools and learn basic concept. This course needed more examples for a particular concepts or some hands on assignments to practice the concepts and understand them better.
Jason
October 12, 2022
I watched this at work. I am not allowed to download code so the use of git instead of live coding made it difficult to follow sometimes especially section 7 & 8. Also, the project I'm working on does not use MVEL. It would have been much more useful and relevant to me if the instructor had demonstrated with the java dialect instead.
Samuel
September 28, 2022
Hay ejemplos en internet de proyectos con Drools, no explica como funciona el motor solo hace un caso práctico
Asan
July 7, 2022
It is a very good course and project if you have enough knowledge about java programming. As a QA I would like to if instructor create the project from scratch. it will be more helpfull. Thank you
Jeff
June 2, 2022
Outstanding intro and this has been so very helpful thus far in getting me moving on understanding Drools and Rule Engines.
Victor
May 18, 2022
The course is good but in the long run it gets a bit confusing because the instructor always uses the same exercise, I think it would be better to use a different exercise for each topic.
Gagan
March 21, 2022
good..but would have been great if it had been taught while coding...so we can get used to the rules as well during the lectures
Paul
March 20, 2022
I found this to be a very informative and well explained course, focusing on the nuances of Drools rule writing. The course is well paced and Juhan introduces a new concept in each lecture building on previously explained concepts. I would highly recommend this course.

Charts

Price

Master Drools Programming - Learn How to Write Drools Rules - Price chart

Rating

Master Drools Programming - Learn How to Write Drools Rules - Ratings chart

Enrollment distribution

Master Drools Programming - Learn How to Write Drools Rules - Distribution chart
1471632
udemy ID
12/16/2017
course created date
12/9/2020
course indexed date
Bot
course submited by