[jboss-user] [jBPM] - Re: jbpm5: one session or multiple sessions

Marie MM do-not-reply at jboss.com
Fri Mar 25 04:59:27 EDT 2011

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


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?

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110325/0b4357d9/attachment.html 

More information about the jboss-user mailing list