Marie MM [
http://community.jboss.org/people/mariemm] created the discussion
"Re: jbpm5: one session or multiple sessions"
To view the discussion, visit:
http://community.jboss.org/message/595490#595490
--------------------------------------------------------------
Hi,
we are now deciding whether how to use sessions. I see these general possibilitites:
1. *one session for all*: which doesn't seem good solution based on Kris' answer,
since we don't want processes influence each other by any chance
2. *new session* created *each time* the session is needed
3. *one session for one process*: for this solution I don't know where to save
connectin between session and process instance. I imagine I have taskId or workItemId,
from this I can get processInstanceId, but how I can get the information in which session
it belongs?
What is your opinion on these possibilities?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/595490#595490]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]