[jboss-dev-forums] [Design of JBoss jBPM] - [sim] Configuration of Experiment

camunda do-not-reply at jboss.com
Fri Oct 5 10:59:17 EDT 2007


Hi, I decided to use this forum also for the simulation features, I currently develop, so here we go with a question, hopefully somebody has an opinion on it, at least Tom ;-))

How to configure simulation experiments?

An experminet contains different informations (a bit simplified here):
- Which processes should be started after what time distribution
- How much resources I have per resource pool
- maybe shift calendar
- work times for tasks
- ...

Some of them can be included in the existing ProcessDefinition XML structure, maybe even all of them. But this has one big disadvantage: I can not maintain scenarios, which would be a very valuable feature, enabling the comparision of different staffing strategies for example.

So the question is, where to put these information: In an additional XML? In Java-classes? In the <process-definition> (with some nested "scenario" elements)?

A second thought must be considered here: I maybe need more than one process for my simulation experiment (because same people maybe work not only in order, but also in service tasks). Maybe this is not a MUST for the simulation environment, but I think a restriction to one process is not nice.

So I tend to allow to include the information directly in the ProcessDefinition elements, for the easy case, where no scenarios are required. So the user can play with simulation easily at the beginning.

More complex stuff and scenarios have to be configured in a special XML file. The data there "overwrites" the simulation data in the process definitions.

But I am nwondering, if maybe a complex scenario configuration can be build more easy in Java code directly? At least for the moment, this may change as soon (but here is a big: WHEN) there is GUI support available...

Thanks for any (even rough) thoughts on it...
Cheers
Bernd


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

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



More information about the jboss-dev-forums mailing list