As seen in Chapter 2, one way to use OSWorkflow is embedding it into your application. This chapter covers the main API features needed to successfully use OSWorkflow inside your application.
This chapter covers all the details of the OSWorkflow configuration and persistence options. It also talks about unit testing for workflow definitions, which is an indispensable feature for quickly validating and checking descriptors.
We also integrate OSWorkflow with Spring—a popular lightweight object container with features such as declarative transactions and AOP programming. This gives OSWorkflow features to your Spring application.
The chapter ends with OSWorkflow's security mechanisms for restricting access to actions and Workflow
instances, and for extending the security model with our own user and group directory such as LDAP.