4 Replies Latest reply on May 6, 2011 4:27 AM by reidz

    Deploy jBPM on separated Project

    reidz

      hi, im asking how to deploy out jBPM with separated JSF project ? or we must develop jBPM and our JSF in one same project ? any help will be appreciated, thanks

        • 1. Deploy jBPM on separated Project
          melc

          Hi,

          You can use jbpm from an application i.e. web application in jsf, only by using the related jbpm resources (i.e. bpmn file) and jbpm/drools jar libraries. Take a look at the documenation http://docs.jboss.org/jbpm/v5.0/userguide/ch03.html#d0e477

           

          Great posibilities are to have deployed i.e. on jboss , guvnor (a central repository and bpms/brms manager with versioning etc) where you can load your processes from and use them inside your application. Or even use the web services REST API by deploying the gwt-server-console.war and call the services from your application.

          In all cases your application can be deployed anywhere and access remotely all these resources or have the core libraries included localy in your application.

          • 2. Deploy jBPM on separated Project
            reidz

            thanks chris

             

            is there any good tutorial about how implement jbpm 5 with JSF frontend ? im stuck here

            • 3. Deploy jBPM on separated Project
              melc

              no problem.

              I haven't spotted any....however if you study the documentation u'll understand how to use jbpm from the api http://docs.jboss.org/jbpm/v5.0/userguide/ch03.html , in order to call these u'll have to include the essential runtime jars of jbpm.

              If you choose to use the REST web services available hit http://localhost:8080/gwt-console-server/  and http://localhost:8080/gwt-console-server/rs/server/resources   , you will find there some of the web services available and what kind of http request to use i.e. GET/POST

              To understand how they are being called use the jbpm-console and look at the log to see the calls at the gwt-console-server as you look at the processes and tasks etc.

              (also check out this thread regarding rest http://community.jboss.org/thread/149568 )

              • 4. Re: Deploy jBPM on separated Project
                reidz

                thanks again Chris

                i've already considered what you suggested Chris, but all i think i need is the proper and best practice how to do it, so i just dont do wild guess about how to intgrate jBPM with my JSF project

                 

                i've watch this webinar by kris verlaenen hereand in 55th minute

                he said something about integration code so we can integrate with another project

                i just can find any of kris post or anything about that integration code, or am i miss something here ? thanks

                 

                note:im start thinking to use jBPM3 now because much much adequate information