3 Replies Latest reply on Sep 19, 2011 5:44 PM by jimdwyer

    jBPM, Drools, AS7 does any of this work? Very confusing what is needed.

    jimdwyer

      I have been banging on this integration for to long.  I have been integrating jBPM and AS7.  It seems to be up and running as the jbpm-client and jbpm-client-server are running (with a few console exceptions ) in AS7.  I have the jBPM5.1 database using Postgres.  So things are integrating but it is slow going.

       

      I went to upload a process definition and according to http://docs.jboss.org/jbpm/v5.1/userguide/ch15.html I need the Drools guvnor up and running as well.  This is fine I want to use Drools anyway.

       

      I have searched the web and forums for answers to the following questions.  There seems to be much talk about things but no definative answers.  If somebody can shed some light on my questions it would be appreciated. 

       

      Questions:

       

      What is the best tool to use for developing jBPM workflows?  Drools flow?  Eclipse? BPMN2?   Can I deploy a process from there?

       

      How do I load a jBPM process definition into jBPM5.1?  I would like to drop it in a directory on AS7 and have AS7 pick it up automatically and deploy it.  Is that possible? 

       

      How do I define jBPM users and groups?  I am using the user.properties and roles.properties files included in the jbpm-console-server and am able to log into the jbpm console.  Are these the same users and groups for the jbpm tasks?  It doesn't seem to be the case.  If not: How do I load users and groups into jBPM5.1?

       

      What version of Drools should I use for AS7?  Has anybody integrated this successfully?  Does drools 5.2 install into AS7?  I was reading that there are issues and that drools 5.4 would fix them.  Drools 5.4 doesn't seem to be available for download.  Now what?

       

      Thanks

        • 1. Re: jBPM, Drools, AS7 does any of this work? Very confusing what is needed.
          jimdwyer

          I'll take that as a "no it doesn't work".

          • 2. Re: jBPM, Drools, AS7 does any of this work? Very confusing what is needed.
            salaboy21

            Hi Jim I will try to answer your questions, but it seems that you already mark the question as answered by yourself.

             

            1) What is the best tool to use for developing jBPM workflows?  Drools flow?  Eclipse? BPMN2?   Can I deploy a process from there?

            I as a developer at this point prefer to write my own XML files, or use the eclipse editor to sketch the process diagrams and then tweak them to work in the jBPM5 runtime. The same happens with the Web Editor. Drools Flow is a deprated term at this point. BPMN2 is the standard notation, it's not an editor. 

             

            2)  How do I load a jBPM process definition into jBPM5.1?  I would like to drop it in a directory on AS7 and have AS7 pick it up automatically and deploy it.  Is that possible?

            You can create that integration if you need it, it's not there yet. We usually deploy our processes into guvnor and configure our application to go to the guvnor repository to pick the definitions.

             

            3) How do I define jBPM users and groups?  I am using the user.properties and roles.properties files included in the jbpm-console-server and am able to log into the jbpm console.  Are these the same users and groups for the jbpm tasks?  It doesn't seem to be the case.  If not: How do I load users and groups into jBPM5.1?

            The users from the console are not the same users that will be handled by the task component. There are different concepts and you can unify them if you want to, but once again, as far as I know it's not integrated.

             

            4) What version of Drools should I use for AS7?  Has anybody integrated this successfully?  Does drools 5.2 install into AS7?

            I know that some guys are working on it, but once again it's up to you to make it work for your needs. Drools and jBPM5 are environment agnostic and if you want to run it in a specific container you will need to deal with the integration. This will probably will be fixed at least for JBoss AS. In the other hand, I strongly suggest you to start with a simple project that uses jBPM5 and its dependencies without any container to see how all the components work together. Once you get your process working you can start thinking about the integrations with different containers. This is the approach that I usually take to develop apps.

             

            Cheers

            1 of 1 people found this helpful
            • 3. Re: jBPM, Drools, AS7 does any of this work? Very confusing what is needed.
              jimdwyer

              Thanks Mauricio,

               

              Thanks for you answers.

               

              I have Drools Guvnor and Designer running in AS5 as they dropped in and ran. (Could have just a web container but already had AS5 hanging around).  Eclipse/Guvnor integration is also working.  I integrated jBPM console and console-server and have them working on AS7.  Will use AS7 for new development and workflows which will reference the Drools on the AS5 server.  This seemed like a good interem solution until I can run all of the components on AS7.  The components work or mostly work anyway and it allows me to use AS7 and the new EJB3 container, queues, etc for our development work.

               

              Jim