5 Replies Latest reply on Sep 9, 2005 4:32 AM by russelldb

    Does jbpm work with a DB at all?

    leishen


      Hello,

      While I am trying to figure out how jbpm works, I found that in order to let Timer work you have to have a DB. Now I am wondering, does jbpm mandate a DB?

      The helloworldexample surely does not need a DB to run. How about a more meaningful real world case? What functionaility jbpm will lose if there is no DB?

      I thought jbpm can be used as a library, I hope that is still the case.

      Thanks
      Lei

        • 1. Re: Does jbpm work with a DB at all?

          Not all functionality works without a db. How could you assign and complete tasks? Etc. A timer would be meaningless. You can't 'pause' the process without persistance.

          What real world situation would you want to use this for without persistance?

          • 2. Re: Does jbpm work with a DB at all?
            leishen


            Thanks for the reply.

            I am not trying to avoid persistence. I am trying to figure out what is
            the minimum stuff I have to install/deploy.

            Another way to express my question is "How can I run jbpm without JBoss?" since I really need to call this jbpm from my own existing application and I do not want to install the jboss on the end user.

            Is there any easy way for me to configure jbpm so that it can run just like a standard alone application?

            Thanks
            Lei

            • 3. Re: Does jbpm work with a DB at all?
              kukeltje

              If you download the source and run the tests, you'll see that jBPM runs its tests without jboss. Some of the libraries included in cvs are for compiling jBPM and e.g. the related webapp.

              There is no real list in what libs are needed to use it standalone. Please give it a try and find out which ones are needed. A small amount of trial and error would do. (I unfortunately do not have the time)

              • 4. Re: Does jbpm work with a DB at all?
                brittm

                I believe the intent of saying that JBPM can be used as a "library" is intended to mean simply that JBPM does not require its own stand-alone application environment to be running, and that it can be incorporated within your own application--its requirement for a database for certain functionality not withstanding.

                -Britt

                • 5. Re: Does jbpm work with a DB at all?
                  russelldb

                   

                  "lshen" wrote:

                  ... I found that in order to let Timer work you have to have a DB...

                  Thanks
                  Lei


                  Hi Lei,
                  I take from the above that you got the Timer working. Can you let me know how as I cannot get a Timer to execute? I have a create timer node and the node is entered yet no timer is created in the db and the timer's action never executes. The node has basically become a wait-state.

                  Thanks in advance if you can help.

                  Russell