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.
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
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.
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.