I'm really struggling here finding some documentation on how to do this. Let me first tell you something about the scenario.
We have a RESTful interface to manage resources (OCCI resources). Previously all statehandling was done in plain JAVA. It showed to be not very manageable at all (surprise ). Now we want to use jBPM for the statehandling and directing the actions that have to be executed when a certain state is reached. For every type of resource we defined a BPMN process, so every resource instance should map to a single process instance.
1. Is this a good idea?
2. How do we best integrate our RESTful interface with our different jBPM processes?
3. Can we still monitor these process instances using the jBPM console?