-
15. Re: API first cut available for jBPM3
kukeltje Nov 18, 2008 4:44 PM (in response to thomas.diesler)I did not propose anything adittionally, because the original one (with Instances appended) compared to jusr Process was wat we were talking about. Sorry if that was not clear (although Tom and Ed got that).
With regard to the code snippets, These methods are in our case 'hidden' in a Process Access Object, so not used in many places. The fact that it is shorter (and yes, looks better) is not that big a deal. ProcessInstance is more specific, but if others disagree with this, I will certainly not make this a matter of life and death :-) -
16. Re: API first cut available for jBPM3
thomas.diesler Nov 19, 2008 3:24 AM (in response to thomas.diesler)
These methods are in our case 'hidden' in a Process Access Object
Many folks will use the API directly as documented by the CTS test cases and the documentation itself.
From your comments, and again I am grateful for those, I take it can stay as is. -
17. Re: API first cut available for jBPM3
koen.aers Nov 19, 2008 4:03 AM (in response to thomas.diesler)"thomas" wrote:
From your comments, and again I am grateful for those, I take it can stay as is.
+1
Change is (sometimes) good, but it should not lead to confusion.
Cheers,
Koen -
18. Re: API first cut available for jBPM3
kukeltje Nov 19, 2008 1:06 PM (in response to thomas.diesler)now I'm confused. What is stay as it is? ProcessInstance and ProcessDefinition or Process and ProcessDefinition? Which one do you vote for Koen?
-
20. Re: API first cut available for jBPM3
camunda Nov 20, 2008 3:00 AM (in response to thomas.diesler)My vote goes for "ProcessDefinition" and "ProcessInstance".
As other people mentioned, Process can mean both, depending on the persons speaking. This can load to confusion, and I think saying "ProcessInstance" is maybe more verbose, but at least totally clear.
By the way, this is indeed basically one of the first things we try to teach people in the trainings (even business people in our BPMN trainings), the difference between a process definition and instance...
Last remark: Same I would say for TaskDefinition & TaskInstance (when we come to this point)... -
21. Re: API first cut available for jBPM3
tom.baeyens Nov 20, 2008 3:17 AM (in response to thomas.diesler)i consider jbpm 3 the 'as-is' and jbpm 4 as the 'to-be'
-
22. Re: API first cut available for jBPM3
thomas.diesler Nov 20, 2008 4:41 AM (in response to thomas.diesler)Thanks Bernd, more votes?
-
23. Re: API first cut available for jBPM3
heiko.braun Nov 20, 2008 5:10 AM (in response to thomas.diesler)I agree with Bernd.
-
24. Re: API first cut available for jBPM3
koen.aers Nov 20, 2008 5:23 AM (in response to thomas.diesler)ProcessDefinition + ProcessInstance is what I meant with 'as is'. So I agree with Bernd as well ;-)
-
25. Re: API first cut available for jBPM3
salaboy21 Nov 20, 2008 7:08 AM (in response to thomas.diesler)I like Process and ProcessDefinition because I think that the only distintion to be made is the formal part of the process (ProcessDefinition) the other is always about the execution.
Also I see in the examples that there will be some method called createProcessDefinition(XML), i think is better keep the old parseProcessDefinition in this case is more clear to me that i use the APIs. -
26. Re: API first cut available for jBPM3
kukeltje Nov 20, 2008 11:11 AM (in response to thomas.diesler)I'm with Koen, Bernd, Heiko and Tom ;-)
-
27. Re: API first cut available for jBPM3
thomas.diesler Nov 21, 2008 5:00 AM (in response to thomas.diesler)ok, I'll incorporate your comments