cancel
Showing results for 
Search instead for 
Did you mean: 

process machine virtual api or xml builder ?

heymjo
Champ on-the-rise
Champ on-the-rise
Hi,

The documentation has a small section on Process Virtual Machine API with a small code sample. However in the forums i'm reading that ProcessDefinitionBuilder is considered "impl" and should therefor not be relied upon.

So I currently have a need to generate processes, is the recommended way then using the processdefinitionbuilder or constructing the necessary XML by hand ?

Thanks
3 REPLIES 3

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Or use the bpmn schema, jaxb and generate a processbuilder youself… Should work…

heymjo
Champ on-the-rise
Champ on-the-rise
yaoqiang (http://bpmn.sourceforge.net/api/index.html) also has a model api, but that one lacks the activiti extensions obviously. I think i'll try jaxb then, though i'm not fond of its verbosity.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I don't think you'll get the activiti extensions either with jaxb unless there is an xsd for it