This content has been marked as final.
Show 3 replies
-
1. Re: ThreadSafe Access to jBPM
kukeltje Apr 11, 2006 6:22 PM (in response to sbhatti)the processdefinitions are already kept in the hibernate 2nd level cache, so there is no need to optimise that.
Ronald -
2. Re: ThreadSafe Access to jBPM
sbhatti Apr 11, 2006 9:36 PM (in response to sbhatti)Right, I understand that I am still wondering whether context, sessions and process definitions can be shared by different threads or should I create them for each client. For example, in JMS sessions cannot be shared across threads so I am not sure if there is similar constraint on these objects.
-
3. Re: ThreadSafe Access to jBPM
koen.aers Apr 12, 2006 2:37 AM (in response to sbhatti)The classes you mention are not threadsafe, so you should indeed create them for each client.
Regards,
Koen