PacktLib: Drools JBoss Rules 5.X Developer’s Guide

Drools JBoss Rules 5.X Developer's Guide

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Programming Declaratively

Problems with traditional approaches

The solution

Drools

Summary

Writing Basic Rules

Rule basics

Rule syntax

Summary

Validating

Banking domain model

Problem definition

Analysis

Design

Validation package

Implementation

Validation service

Summary

Transforming Data

Process overview

Getting the data

Writing transformation rules

Transformation results

Implementation of the data loading

Summary

Creating Human-readable Rules

Domain-specific language

The decision tables

jBPM

Summary

Working with Stateful Session

StatefulKnowledgeSession

Validation using stateful session

Summary

Complex Event Processing

CEP and ESP

Drools Fusion

Fraud detection

Summary

Defining Processes with jBPM

Loan approval service

Loan approval process

Summary

Building a Sample Application

Users

Architecture

Technologies used

Business logic

Design

Configuration

Repositories

Validation

Loan approval

Summary

Testing

Writing unit tests for rules

Rule integration testing

Rule acceptance testing

Static analysis of rules

Troubleshooting techniques

Summary

Integrating

Dynamic KnowledgeBase loading

External artifact building

Drools Camel server

Spring framework integration

Standards

Summary

Learning about Performance

Rete algorithm

Node sharing

Node indexing

Left and right unlinking

The KnowledgeBase partitioning

Summary

Setting Up the Development Environment

Setting Up the Development Environment

Creating Custom Operators

Creating Custom Operators

Dependencies of Sample Application

Index