[jboss-dev-forums] [Design of JBoss jBPM] - Re: jBPM Multithreading: Is there a specification?
tom.baeyens@jboss.com
do-not-reply at jboss.com
Tue Mar 6 10:38:54 EST 2007
"archer77" wrote :
| BTW: My setup is a standalone jBPM (with in-memory sql database), no ejbs, jboss container, ..
a transient usage of jBPM is a whole other story.
jBPM is usable in transient mode. you don't even have to use an in memory db in that case. you can just parse your process definitions and create new instances of ProcessInstance for it, and then execute those.
but for that scenario, we don't have the right forks and joins yet. in such situations, you should use a different kind of fork and join behaviour, based on multithreading. we don't have that yet.
the simplest way to get that non-persistent runtime concurrency behaviour is by just using the current forks and joins, but writing your own MessageService. Then you can leverage async="true" and your async message executor will generate multiple concurrent threads.
Later, we might actually create a new process language for non persisted multi threaded processes.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025445#4025445
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025445
More information about the jboss-dev-forums
mailing list