Book Image

OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management

Book Image

OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management

Overview of this book

OSWorkflow is an open-source workflow engine written entirely in Java with a flexible approach and a technical user-base target. It is released under the Apache License. You can create simple or complex workflows, depending on your needs. You can focus your work on the business logic and rules. No more Petri Net or finite state machine coding! You can integrate OSWorkflow into your application with a minimum of fuss. OSWorkflow provides all of the workflow constructs that you might encounter in real-life processes, such as steps, conditions, loops, splits, joins, roles, etc.This book explains in detail all the various aspects of OSWorkflow, without assuming any prior knowledge of Business Process Management. Real-life examples are used to clarify concepts.
Table of Contents (13 chapters)
OSWorkflow
Credits
About the Author
About the Reviewers
Introduction

Complex Business Logic


In the previous example, for each business rule, a BeanShell Condition was needed. This can really clutter the definition. To reuse rules and to program more complex logic, we need a more powerful tool. This tool is a Business Rule Management System (BRMS).

BRMS is a component inside a BPMS solution. It emerged out of a need to create, execute, maintain, and organize business logic and rules for use inside and outside business processes. The key part of the BRMS is the rule engine.

A rule engine decouples the business rules from the code and externalizes them outside the code. Each change to a business rule doesn't impact the process definition or the program code. On the other hand, it increases the complexity of the solution.

What is "JBoss Rules"?

JBoss Rules is a Rete-based rule engine. This means that the engine evaluates the condition each time a new fact is introduced in the working memory. A fact is just an object and the working memory is the object scope that...