Drools Business Rule Management System


Course Number: JAV-418
Duration: 3 days (19.5 hours)
Format: Live, hands-on

Drools Training Overview

Drools is an open-source Business Rules Management Software (BRMS) written in Java.  This Drools Business Rule Management System training course teaches attendees how to write, refine, and deploy Drools rules.

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand what Drools is
  • Understand Rules and the Rule Engine
  • Work with the components in Drools
  • Understand the architecture of Drools
  • Write Drools code with real-time use cases
  • Understand Stateful Vs Stateless sessions
  • Understand the Drools language syntax

Prerequisites

All students must have basic Java programming.

Outline

Expand All | Collapse All

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
Conclusion

Training Materials

All Drool attendees receive comprehensive courseware.

Software Requirements

  • A recent version of Windows, macOS, or Linux with at least 8 GB RAM
  • JDK 8 or later
  • The Java tool the students are likely to use after the class (Eclipse or IntelliJ IDEA are recommended)
  • Other free software - please contact us if you have purchased this class


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan