Book Image

Drools JBoss Rules 5.0 Developer's Guide

By : Michal Bali
Book Image

Drools JBoss Rules 5.0 Developer's Guide

By: Michal Bali

Overview of this book

<p>Business rules can help your business by providing a level of agility and flexibility. As a developer, you will be largely responsible for implementing these business rules effectively, but implementing them systematically can often be difficult due to their complexity. Drools, or JBoss Rules, makes the process of implementing these rules quicker and handles the complexity, making your life a lot easier!<br /><br />This book guides you through all of the features of Drools, such as dynamic rules, the event model, and Rete implementation with high performance indexing. It will help you to set up the JBoss Rules platform and start creating your own business. It's easy to start developing with Drools if you follow its real-world examples that are intended to make your life easier.<br /><br />Starting with an introduction to the basic syntax that is essential for writing rules, the book will guide you through validation and human-readable rules that define, maintain, and support your business agility. As a developer, you will be expected to represent policies, procedures and. constraints regarding how an enterprise conducts its business; this book makes it easier by showing you it can be done.<br /><br />A real-life example of a banking domain allows you to see how the internal workings of the rules engine operate. A loan approval process example shows the use of the Drools Flow module. Parts of a banking fraud detection system are implemented with Drools Fusion module, which is the Complex Event Processing part of Drools. This in turn, will help developers to work on preventing fraudulent users from accessing systems in an illegal way.<br /><br />Finally, more technical details are shown on the inner workings of Drools, the implementation of the ReteOO algorithm, indexing, node sharing, and partitioning.</p>
Table of Contents (22 chapters)
Drools JBoss Rules 5.0 Developer's Guide
Credits
Foreword
About the Author
About the Reviewers
Preface
Development Environment Setup
Custom Operator
Dependencies of Sample Application
Index

Foreword

Open Source Decision Management

Companies of every size are realizing that smart, simple, agile processes require that operational decisions should be managed, automated, and improved. These high volume transactional decisions must be made to keep data flowing through processes, to empower customers to self-serve, to make systems act more intelligently. As Neil Raden and I discussed in Smart (Enough) Systems, these decisions commonly have distinct characteristics. These decisions are high volume, low latency, and necessary for both straight through processing and unattended operation so they must be automated. Yet they must also change in response to external variability, demonstrate compliance, manage risk, and be personalized so traditional approaches to automation are problematic. Coding decisions in Java makes it hard to show those decisions to a regulator to prove compliance and hard to change the decision making approach quickly and cheaply. It makes it hard for business users to truly collaborate on how these decisions should be made, limiting the ability to bring risk management and personalization to these decisions.

Fortunately, there exists a technology and an approach to deal with these challenges. Instead of using traditional approaches companies attacking the decisions as a separate problem and managing those decisions explicitly. Decision management externalizes these decisions as decision services so they can reused and systematically improved. Decision management replaces traditional procedural code with business rules—declarative, atomic, manageable fragments of business logic. Business rules allow business users to participate in writing business logic.

With Drools 5, JBoss and the open source community have delivered a true business rules management system for the first time. Using Drools, organizations can take control of the logic that drives their operational decisions. They can build simpler, smarter, and more agile business processes and systems.

Michal introduces business rules and JBoss Drools to programmers in this book, walking them through all the major features of the product. Extensive code extracts and worked examples illustrate all the major, and many of the minor, features in the new release. Whether you are new to Drools or used to a previous version, Michal's book will help you navigate the new release. With Drools 5 you can take control of the logic in your systems and manage your decisions for better business results and greater agility, and this book will show you how.

It's time to change the way you build system, time to manage operational decisions, time to put business rules to work.

James Taylor

CEO, Decision Management Solutions

Author, with Neil Raden, of Smart (Enough) Systems (Prentice Hall, 2007)

blog: jtonedm.com, twitter: jamet123