Framework to create bpmn xml - jdom, stax vs. velocity

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2013 01:59 AM
Hi users of activiti,
i need to generate the bpmn xml to deploy to activiti using the given other model of business process. I use the jdom to create it. Someone has suggested to replace the jdom and use the…. apache velocity. I have no experience with that framework, but as i have seen, that velocity is required (extra template, that use script language, initializing to create the java objects from template etc.), I think that velocityis less suited to create xml.
Of course you can say that JDOM is not best choice (it can stax and not jdom used). But the velocity has (imho) no possibilities, that have the jdom or stax & Co.)
What do you think about it?
Other question is what is used to create xml bpmn in activiti desinger?
Thanks
i need to generate the bpmn xml to deploy to activiti using the given other model of business process. I use the jdom to create it. Someone has suggested to replace the jdom and use the…. apache velocity. I have no experience with that framework, but as i have seen, that velocity is required (extra template, that use script language, initializing to create the java objects from template etc.), I think that velocityis less suited to create xml.
Of course you can say that JDOM is not best choice (it can stax and not jdom used). But the velocity has (imho) no possibilities, that have the jdom or stax & Co.)
What do you think about it?
Other question is what is used to create xml bpmn in activiti desinger?
Thanks
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2013 04:25 AM
Hi,
Did you also take a look at the activiti-bpmn-model and activiti-bpmn-converter projects?
When you're able to transform your business process model to the Java BPMN POJO model of activiti-bpmn-model you can use the activiti-bpmn-converter project to generate the XML for you.
The Activiti Designer also uses these projects.
Best regards,
Did you also take a look at the activiti-bpmn-model and activiti-bpmn-converter projects?
When you're able to transform your business process model to the Java BPMN POJO model of activiti-bpmn-model you can use the activiti-bpmn-converter project to generate the XML for you.
The Activiti Designer also uses these projects.
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2013 02:58 PM
Hi,
Did you also take a look at the activiti-bpmn-model and activiti-bpmn-converter projects?
When you're able to transform your business process model to the Java BPMN POJO model of activiti-bpmn-model you can use the activiti-bpmn-converter project to generate the XML for you.
The Activiti Designer also uses these projects.
Best regards,
Hi, i thank you for the quick response, i will be read about Java BPMN POJO & activiti-bpmn-converter.
Right off the bat, however, I doubt that it will help in my case, since I have introduced some extras during XML generation related to form properties for UserTasks. (i use some custom form types & renderers…)
