Activiti should be used in our environment to conenct components (Java Beans) to a process. At the moment we build inflexible connections inside the beans with coded lookups. This is very fast.
Our idea is to make this flexible by describe the connections with activiti. In the test scenario we have only plain beans with simple logic (calculate some values) and make system.outs with current time. We want to evaluate the time deficite by using a BPMN engine. The scenario has no waitstate, only startevent, service tasks (the execution of the beans) and an end event. The example shows a possible process in out real environment. The SubProcess is simple an StartEvent, ServiceTask and EndEvent.
Activiti will be do all internal db persistency at the end of the process (after an EndEvent)? It is possible to optimize this behavior? If not, we will further use the hard coded connection, because we have the main requirement to be fast.