Overview
From OpenKM Documentation
The core workflow and BPM functionality is packaged as a simple java library. This library includes a service to manage and execute processes in the jPDL database.
You can see a working example at jBPM Overview.