AnsweredAssumed Answered

May I store a processEngine instance reference in a database ?

Question asked by cnirparis on Jun 25, 2014
Latest reply on Jun 26, 2014 by cnirparis
Hello everyone.

For using Activiti you must create a processEngine, for example


ProcessEngine pe = ProcessEngineConfiguration
   .createProcessEngineConfigurationFromResourceDefault()
   .buildProcessEngine();


The documentation advice is to avoid to parse more than once the BPMN Xml because it's costly. They say to store ini a static field of external JNDI.
So is it possible to store the processEngine instance reference (here
pe
) in a database (as a blob probably), and getting it again in a complete different execution context ?
Before doing it myself I'd like to know if this is pertinent.

Thank you very much for any answer.

Outcomes