2 Replies Latest reply on Oct 20, 2005 5:33 AM by joshua_hj

    JbpmSessionFactory

    joshua_hj

      Hello,

      If a JbpmSessionFactory is threadsafe, does that means that the multiple JbpmSession database requests created by users are all synchronized on the server side?

      Thanks joshua

        • 1. Re: JbpmSessionFactory
          tom.baeyens

          no.

          it means that a JbpmSessionFactory doesn't use any static data without proper synchronization.

          so multiple threads can access the same JbpmSessionFactory without problem.

          Once a thread has obtained a JbpmSession, it can issue queries and updates concurrently with other JbpmSessions. That concurrency will be propagated to the database. DB's are good at handling this concurrency stuff :)

          regards, tom.

          • 2. Re: JbpmSessionFactory
            joshua_hj

            Thanks Tom

            Joshua