Ok,
can I use one kSession for all process instance in web application? If kSession will load every request (different thread) from the database, is it thread safe?
In jBPM3 I can use one context with default name for every interaction with workflow engine. Context is not stored in the database and it is unlike jBPM5
JbpmConfiguration config;
....
try {
context = config.createJbpmContext(JbpmContext.DEFAULT_JBPM_CONTEXT_NAME);
.... // do something with context
} finally {
if (context != null) {
context.close();
}
}