Free Sample
+ Collection

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

Diego Adrian Naya Lazo

Get your workflow up and running with this step-by-step guide authored by an active developer of the OSWorkflow project with real-world examples
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847191526
Paperback212 pages

About This Book

  • Basics of OSWorkflow
  • Integrating business rules with Drools
  • Task scheduling with Quartz


Who This Book Is For

The book is aimed at experienced Java developers and system architects who want to develop complex Java applications using the OSWorkflow workflow engine. OSWorkflow is a flexible low-level workflow implementation for developers and architects; it is not a quick "plug-and-play" solution for non-technical end users.

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


Table of Contents

Chapter 1: BPM and Workflow Basics
Business Process Orientation
What's a BPMS?
Different Kinds of BPMS
Components of a BPM Solution
Open-Source BPMS
Chapter 2: OSWorkflow Introduction and Basics
Downloading and Installing OSWorkflow
Navigating the Sample User Interface
OSWorkflow Basics
Setting Status and Old Status Values
Visual Process Modeling
Ways to Implement OSWorkflow
Chapter 3: Adding Code to our Definitions
How to Deal with Transient Data
PropertySet and Transient Variables
Adding Code to our Definition
Other Useful Descriptor Concepts
Chapter 4: Using OSWorkflow in your Application
OSWorkflow Configuration
Embedding OSWorkflow into your Application
Persisting Instance Information
Unit Testing your Workflow
Integrating with Spring
Workflow Security
Chapter 5: Integrating Business Rules with JBoss Rules
Incorporating Business Logic into Business Processes
Simple Logic with Conditional Results
Complex Business Logic
Integrating with OSWorkflow
Chapter 6: Task Scheduling with Quartz
What is Quartz?
Trigger Functions
Scheduling a Job
Scheduling from a Workflow Definition
Example Application—Customer Support
Example Application—Claims Processing
Chapter 7: Complex Event Processing
Complex Event Processing (CEP)
What is Esper?
Integration with OSWorkflow
Real-World Examples
Chapter 8: Dashboards with Pentaho
What is Pentaho?
Pentaho Requirements
Downloading and Installing Pentaho
Setting up Pentaho to use the OSWorkflow Database
Using the Design Studio to Create our First Chart
Useful Charts for BAM Consoles

What You Will Learn

In this book we will:

  • Understand basics of BPM technology.
  • See how to create workflows with the help of an examples workflow.
  • Integrate Drools open source engine in our workflow engine.
  • Integrate Quartz task scheduler along with the Workflow.

Chapter 1 gives an overview of the BPM technology and the workflow engine, along with an analysis of the different type of BPMS.

Chapter 2 introduces OSWorkflow and teaches the basics of the workflow engine along with a real life example.

Chapter 3 introduces several key features of OSWorkflow like handling persistent and transient variables, variable interpolation, built in OSWorkflow functions, Conditions, BeanShell scripting.

Chapter 4 covers Persistence of variables across invocations, and the FunctionProviders along with integrating OSWorkflow with Spring.

Chapter 5 introduces and integrates Rules engine and Drools open source rule engine.

Chapter 6 we explore the Quartz task scheduler, its integration with OSWorkflow and we give a tutorial with Quartz sending events and actions to OSWorkflow.

Chapter 7 introduces Event Stream Processing and Complex Event Processing. We give an OSWorkflow function provider that interfaces with the ESPer CEP engine and allows the monitoring of real time process information and events.

Chapter 8 gives OSWorkflow visualization of its business process information with the Pentaho Open source BI solution. Using the charting capabilities of Pentaho we build an enterprise process dashboard to monitor and analyze the processes.

In Detail

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.


Read More