[Design of JBoss jBPM] - Re: Please review the BPM API
by thomas.diesler@jboss.com
Thanks for your feedback Alex.
anonymous wrote : In PVM the process instance and the top level execution were recognized as being the same thing
I started a separate thread for this here
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162852#4162852
anonymous wrote : Is "attachment" a synonym of [process] variable
Attachments associated with an ExecutionContext are indeed similar to process variables. Only that they use generics, which gives us compile time checking for process variable usage.
Attachments in a more general term can be associated with other constructs as well. The ProcessInstance for example has Attachments as well.
anonymous wrote : The transition router usage model is not clear to me
It is generally important to separate the concerns of user Activity and the Transition to the next Node. A credit card activity deals with credit card operations and should not have to have intimate knowledge of the ProcessDefinition.
For example if the Node that deals with credit card processing becomes a new Transition "goto checking account on failure" the Activity that deals with the credit card provider should not have to be touched.
Generally, the execution of user code is one thing, taking the next transition is another - both are fundamentally different.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162858#4162858
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162858