Jakub Ferschmann [https://community.jboss.org/people/fersmi] created the 
discussion

"Re: Integrating jBPM 5 into web application - architecture"

To view the discussion, visit: https://community.jboss.org/message/743367#743367

--------------------------------------------------------------
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();
    }
}
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/743367#743367]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to