Book description
Discover the power of Drools 6 and Business Rules for developing complex scenarios in your applications
About This Book
Implement and model different rules using the DRL full syntax
Model complex business decisions and domain models in order to automate and improve your operational decisions with the Drools framework
A practical, fast-paced, hands-on guide to help you use the different components provided by the Drools Rule Engine
Who This Book Is For
This book is for Java developers and architects who need to have a deep understanding of how to create or integrate your applications with the Drools Rules Framework. The book assumes that you know the Java language well and also have experience with some widely used frameworks, such as Spring. You should also know the basics of Maven-based applications.
What You Will Learn
Automate your application’s decisions, such as promotion applying, discount policies, fraud detection, and more.
Quickly get started with writing your first rules using the DRL full syntax.
Discover the power of the new syntax components of the rule language.
Define inferences in your business rules to simplify complex decisions.
Write decision tables, templates,domain-specific languages, and scorecards, and learn how to map them to the Drools framework.
Harness the full operational power of Drools through all of its configuration points.
Use Drools configurations and architectures for different environments and scenarios.
In Detail
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.
Style and approach
Approached from a developer’s perspective, the book teaches you all the advanced concepts of Business Rules applicable examples with helpful screenshots, diagrams, tutorials, and examples.
Table of contents
-
Mastering JBoss Drools 6
- Table of Contents
- Mastering JBoss Drools 6
- Credits
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Rules Declarative Nature
- 2. Writing and Executing Rules
- 3. Drools Runtime
-
4. Improving Our Rule Syntax
- Adding external interactions with global variables
- Modifying the data in the working memory
- Rule attributes
- Controlling loops in rules
- Special Drools operations
- Working memory breakdown: the from clause
- Drools syntactic sugar
- Decorating our objects in memory
- Logical insertion of elements
- Rule inheritance
- Summary
- 5. Understanding KIE Sessions
- 6. Complex Event Processing
- 7. Human-Readable Rules
- 8. Rules' Testing and Troubleshooting
- 9. Introduction to PHREAK
- 10. Integrating Rules and Processes
- 11. Integrating Drools with our Apps
- Index
Product information
- Title: Mastering JBoss Drools 6
- Author(s):
- Release date: March 2016
- Publisher(s): Packt Publishing
- ISBN: 9781783288625
You might also like
book
Mastering JBoss Enterprise Application Platform 7
Create modular scalable enterprise-grade applications with JBoss Enterprise Application Platform 7 About This Book Leverage the …
book
Java EE 8 High Performance
Get more control of your applications performances in development and production and know how to meet …
video
Spring Cloud Function and Spring Cloud Stream (Event-Driven & Serverless)
How to leverage the functional programming paradigm with Spring Cloud.
book
Cloud Native Java
What separates the traditional enterprise from the likes of Amazon, Netflix, and Etsy? Those companies have …