Information Technology Reference
In-Depth Information
jBPM6 Human task component's overview
Based on the WS-HT specification, the current version of the Human task component is
composed of multiple projects that can be found inside the master Git repository, where
you can download the full code of the jBPM project. The following link will allow you to
see the source code directly from the browser:
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task
From the architectural perspective, this component can be configured to run in different
ways, depending on your application needs. Because the Human task component is a very
simple and lightweight component, the simplest way to start using it is to embed it in the
same runtime with the process engine.
The following figure describes the different interactions with the Human task component:
This option instantiates the Human task component inside your application. The Human
task component is a service that is implemented using Java Persistence API ( JPA ) to per-
sist information in a database. This implies adding special configurations to our application
to make it work: a persistence provider must be specified (which by default is hibernate
in jBPM6) and a persistence unit must be defined in order for JPA to understand specific
objects as database table mappings.
An application that holds the Human task component as a library inside it will have a way
to access information on our Human tasks from a database. As a con, we will need to add
Search WWH ::




Custom Search