-
1. Re: Generating JPDL Programmatically
kukeltje Jul 26, 2009 11:42 AM (in response to waterloo)Creating jPDL 'programatically'? Sure, no problem. Use Java, C++, Perl, Php, or whatever language you want. Even XSLT is possible if the original old language is xml. jPDL is xml and so you can create that anyway you want.
Using the API is another option, but less flexible in further versioning etc. -
2. Re: Generating JPDL Programmatically
madihaanees Jul 27, 2009 3:52 AM (in response to waterloo)What I found from your post that you are looking for creating workflow by using API rather than eclipse designer.
I had done this before creating workflow by using jboss jBPM API. But be reminded that the code I am posting is based on jBPM 3.x.
please follow my blog. I am posting the link for your continence
http://aneesjavaee-osgi.blogspot.com/2008/08/creating-jbpm-workflow-programmatically.html
Regards -
3. Re: Generating JPDL Programmatically
swatis Jul 27, 2009 11:24 AM (in response to waterloo)which one is this old language? if its XML then as Ronald suggested you can use XSLT, java XML API like jdom to generate jpdl(jpdl is nothing but XML file). So you need to understand both formats. Basically you need converter which will do conversion.
-
4. Re: Generating JPDL Programmatically
waterloo Jul 28, 2009 2:15 PM (in response to waterloo)Hi all,
Many thanks for the replies.
I believe generating the XML will be easier but I believe I'll struggle with the variables.
Just to give you more details, I have an old sequential language that I want to add some process features and I believe jBPM is the way to go.
I manage to do some tests with Shark/XPDL in the past but it was so hard to get everything running that I gave up.
cheers