[jboss-user] [jBPM] - Understanding Deployments & Executions

Karoy Labs do-not-reply at jboss.com
Wed Sep 1 13:52:12 EDT 2010


Karoy Labs [http://community.jboss.org/people/obolabs] created the discussion

"Understanding Deployments & Executions"

To view the discussion, visit: http://community.jboss.org/message/560102#560102

--------------------------------------------------------------
Please read the following knowing that I am still only finding my way around JBPM as well as JBoss, although I've got some experience with weblogic and JEE in general.
Here I'm trying to wrap my mind around how the deploy and execution scenarios work together.

Consider this Ant-based deploy process:
<taskdef
     name="jbpm-deploy"
     classname="org.jbpm.pvm.internal.ant.*JbpmDeployTask*"
     classpathref="jbpm.dependencies" />
<jbpm-deploy file="ProcessTester.bar" />
As far as I can tell, it parses the jbpm xml {for validation?} and  writes the .bar file contents into the JBPM4_LOB table, as well as creating entries for the process in other deployment related tables.
This is done without needing anything from the JBoss+JBPM runtime, other than the support libraries.

Once running, BPM Console checks the DB for available deployments.
When a process is 'Start'-ed in the Console's Process Overview, its *.bar* is read from DB, reassembled and executed in place. In other words, the business archive does not have to be explicitly in the JBoss classpath.

Is that more or less it or are there missing bits in this description?

Also, I am fairly certain that you can also deploy processes from .bar files included in the classpath by simply putting the file into the deploy folder of the JBoss instance. However, I remember reading in another thread that JBPM 4.4 doesn't yet have a deployer, but one can use 4.1,2,3 deployers?
This method of deployment would result in the same DB artifacts being generated and the execution would be same.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/560102#560102]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100901/d5533d56/attachment.html 


More information about the jboss-user mailing list