Guys,
I love what you have done here so far. I have a few questions that are mostly necessitated by using a NoSQL backend (Mongo) rather then a traditional SQL repository. I have a number of business processes I want to implement and support and BPMN 2.0 seems a natural way to do so. That means that I basically seem to have three integration options:
1) Use the POJO interface to dynamically create my activities based on (bpmn 2.0?) documents in my document store.
a) Is it possible to keep track of state, and reinitialize a activity, and tell the ObjectProcessInstance that a given process instance should be started somewhere other then the start node?
b) Is it possible to automatically create a ProcessDefinition from bpmn 2.0 xml without using the deployment scenario? Obviously, If I am using a NoSQL database, I would prefer to simply grab a document and build it rather then the SQL Deployment.
2) Use BPMN as a stand alone component.
a) Doable, but ugly since I have to do some translation between a document and map, and merge the changes back into the document when the process finished? Keep a seperate reference to the document?
3) Port Activiti on top of MongoDB
a) Typically applications architected for SQL data stores are not a good fit for document oriented stores?
b) I would love to take a whack at this some time, but not on the timeline needed for this project, and not with it so in flux?