[jboss-user] [JBoss jBPM] - Re: Stateless Process Engine executor threading issues

tom.baeyens@jboss.com do-not-reply at jboss.com
Fri Mar 2 08:14:40 EST 2007


jorgemoralespou_2,

you can use jBPM persistent or transiently.  so you have to decide if you want persistence first.  you always need a jbpmContext, but in case you don't need persistence, you can just parse the process from a file and create instances with the ProcessInstance constructor (all inside one or more jbpm context blocks)

apart from that, you should not require an engine that drives executions through the process.  if you need to feed an external trigger, it means that your process behaves as a wait state.  so it's a matter of not using wait states to avoid the external signals.  if you create a new process instance and signal it, it will run until the end in one go if there are no waitstates inside the process.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024622#4024622

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024622



More information about the jboss-user mailing list