Book Image

Mastering JBoss Drools 6

By : Mariano De Maio, Mauricio Salatino, Esteban Aliverti
Book Image

Mastering JBoss Drools 6

By: Mariano De Maio, Mauricio Salatino, Esteban Aliverti

Overview of this book

Mastering JBoss Drools 6 will provide you with the knowledge to develop applications involving complex scenarios. You will learn how to use KIE modules to create and execute Business Rules, and how the PHREAK algorithm internally works to drive the Rule Engine decisions. This book will also cover the relationship between Drools and jBPM, which allows you to enrich your applications by using Business Processes. You will be briefly introduced to the concept of complex event processing (Drools CEP) where you will learn how to aggregate and correlate your data based on temporal conditions. You will also learn how to define rules using domain-specific languages, such as spreadsheets, database entries, PMML, and more. Towards the end, this book will take you through the integration of Drools with the Spring and Camel frameworks for more complex applications.
Table of Contents (18 chapters)
Mastering JBoss Drools 6
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Spring integration


Another well known framework for dependency injection is the Spring Framework (http://projects.spring.io/spring-framework/). Drools can be easily integrated to other components in an application using Spring, and we have an example of this integration in the chapter-11/chapter-11-spring project of the code bundle.

Introducing Spring Framework

The Spring Framework is, in its core, an integration framework that allows binding of different Java components together using Inversion of Control. Through XML configuration files or injection annotations, it lets us tie together bean constructors and setters to initialize the runtime of our applications. Besides that base functionality, Spring has been in the market for several years now, and has a lot of adoption and pluggable libraries that allow us to bind all sorts of functionalities to our apps, including Data Access libraries, Aspect-oriented programming features, URL binding, and Transaction management.

Kie Spring Config example...