If you check the JUnit tests, org/jbpm/jpdl/par/ProcessArchiveDeploymentDbTest.java has examples on how to build a simple .par, as well as deploy it.
The deploy: ZipInputStream zipInputStream = new ZipInputStream(new FileInputStream("your/par/file/name/here")); | ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zipInputStream); | jbpmContext.deployProcessDefinition(processDefinition); You just need to worry about getting the PAR from machine A to machine B. You could do it as a HTML Multipart Post, or FTP, or however you want. Anyway to get the file physically to the other machine (with a known path) is the pain point of your issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952437#3952437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952437 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user