-
1. Re: jBPM 4.4 - How to deploy a business archive ?
rotsoft Aug 19, 2010 10:50 AM (in response to nicolasduminil123)Hi, you should check the repositoryService, I'm using a servlet to deploy processes with this code. Where f is a java.io.File with the .jpdl.xml. Although there are other useful methods.
processEngineService
.getRepositoryService()
.createDeployment()
.addResourceFromFile(f)
.deploy(); -
2. Re: jBPM 4.4 - How to deploy a business archive ?
nicolasduminil123 Aug 19, 2010 11:15 AM (in response to rotsoft)I don't need code ! This tool is ment to be used by a business analyst to model processes. You don't imagine that, after using a graphical tool to model processes, the business analyst will start writing Java code to deploy them ! Why having developed a graphical tool in this case ? Why not writing the XML with notepad as It is not more difficult to write XML then Java code ? If you're saying that this is the only way to deploy a business archive then this approach is simply non-sense.
-
3. Re: jBPM 4.4 - How to deploy a business archive ?
swiderski.maciej Aug 20, 2010 2:12 AM (in response to nicolasduminil123)Note that jBPM 4.x is not finished yet and it is mainly developed by community at the moment so please be patient. Contribution is always welcome
I have done some work on deployment through BPM console but it did not make it to the current release, if you like you could apply the patch and build it from source. jBPM integration part should be already included so it is a matter only of BPM console.
Here is the BPMC jira issue. https://jira.jboss.org/browse/BPMC-58
Comments are welcome too.