Chapter 2. Expert: Behind the Rules

In this chapter, we will cover:

  • Marshalling knowledge sessions

  • Using persistence to store knowledge

  • How to discard duplicated facts on insertion

  • Using a custom classloader in knowledge agent

  • Verifying the quality of rules with the Drools Verifier

  • Monitoring knowledge with JMX

Introduction

Beyond knowing and using rules, it is necessary to know what other tasks can be performed with the knowledge of using the Drools API. These tasks begin with two possible ways to store knowledge, to how monitor the knowledge sessions to know their internal state and its behavior. This chapter will be focused on recipes that are not completely related to rules authoring, but will help in the integration process.

Marshalling knowledge ...

Get Drools Developer's Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.