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

Chapter 7. Complex Event Processing

This chapter introduces some state-of-the-art technologies like Event Stream Processing (ESP) and Complex Event Processing (CEP) and their applications in BPMs. We will look at an OSWorkflow function provider that interfaces with the Esper CEP engine and allows monitoring of real-time process information and events. This chapter assumes basic knowledge of SQL and the relational data model concepts.

Complex Event Processing (CEP)

CEP is a relatively new technology to process events and discover complex patterns inside streams of events. CEP engines are also known as Event Stream Processing (ESP) engines. Events can be anything that happens outside or inside your application. These events contain data about the business situations that occurred and information about the data (also known as metadata). A sequence of events from the same source is called an event stream.

By processing the event streams with business-defined patterns, you can detect and react...