Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management
  • Table Of Contents Toc
OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management

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

4.6 (5)
close
close
OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management

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

4.6 (5)

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)
close
close
OSWorkflow
Credits
About the Author
About the Reviewers
Introduction

Adding Code to our Definition


This section is about customizing and adding functionality to our XML OSWorkflow process definition. Both classic Java code and BeanShell scripts are available to extend and enhance the business process.

FunctionProviders

During execution and transitioning of the workflow instance you may need to execute code specific to your application or custom functionality. OSWorkflow provides a way to do so, through the use of FunctionProvider.

The FunctionProvider can be a regular Java class, an EJB, or a BeanShell script. OSWorkflow has several useful built-in functions that you can use in your definition.

Creating our first FunctionProvider

Defining a Java FunctionProvider is very easy; all you need to do is implement the com.openshymphony.workflow.FunctionProvider interface. A sample FunctionProvider that simply prints its arguments is shown in the following code snippet:

package packtpub.osw;
import java.util.Map;
import com.opensymphony.module.propertyset.PropertySet...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon