[jboss-user] [JBoss jBPM] - Re: Interaction between two actors

estaub do-not-reply at jboss.com
Mon May 7 13:29:52 EDT 2007


Dan,

The short answer is: it will work.

You've fallen into a common newbie wrong-thought.

Imagine that a deployment has a million processes running, but steps only happen once a day.  A workflow engine that ran a separate Java thread for each process would be a pig.

So instead, engines are always event-based.  You'll never see one go into a wait() state for a particular process.  Instead, when a process blocks waiting for an external event, the state is persisted.  

When the event happens, it restores the process state and continues.  

I've simplified the following:
  - processes can fork and be in more than one state at the same time.
  - the persistence behavior is a little more complicated.
See the userguide for more.

-Ed Staub

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

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



More information about the jboss-user mailing list