8 Replies Latest reply on Jun 23, 2006 10:22 AM by chimera84

    Using Jbpm witout webapp

    chimera84

      I'm a newbie in Jboss and jbpm :

      Does anyone have an example on how to access to the Jbpm engine not beeing in a webapp. The Junit test cases given in the starter kit look fine but they do not access to a procress deployed on jboss.


      Futhermore, How can I deploy a Jbpm process in Jboss ?



      I didn't find anything in the wiki pages nor in this forum.

      Thanks in advance.




        • 1. Re: Using Jbpm witout webapp
          kukeltje

           

          "chimera84" wrote:

          I didn't find anything in the wiki pages nor in this forum.


          Did you search?

          • 2. Re: Using Jbpm witout webapp
            chimera84




            Did you search?


            Of course I did!

            I found moderator's telling to have a look at the Testcases and a the starter kit. But this doesn't answer my question.
            The stuff given in the starter kit is fine but for people running webapps.

            I 'm not such a guy that doesn't look what was said before ! So If you don't want to help just do not anwser.
            Regards








            • 3. Re: Using Jbpm witout webapp
              cpob

               

              "chimera84" wrote:
              I'm a newbie in Jboss and jbpm :

              Does anyone have an example on how to access to the Jbpm engine not beeing in a webapp. The Junit test cases given in the starter kit look fine but they do not access to a procress deployed on jboss.

              Futhermore, How can I deploy a Jbpm process in Jboss ?

              I didn't find anything in the wiki pages nor in this forum...


              First off, instructions for deploying a Jbpm process are readily available. See this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85420 that I recently replied to.

              The process itself does not get "deployed to jboss". You deploy it to the jBPM engine, wherever that might be (jBoss, WebSphere, straight java application).

              The JUnit test cases do this, but perhaps not all in one. Look at the ProcessArchiveDeploymentDbTest, which shows how to programatically deploy a .par file. Then you can apply that technique and modify other test cases to use the recently deployed process.

              • 4. Re: Using Jbpm witout webapp
                chimera84

                Thanks for answer: in fact I'd seen your post but I didn't realise that you explain there was no way to acces to a process through jmx

                so to have a centralized acces to a process I have to write my own Mbean or to provide a service via an ejb?


                • 5. Re: Using Jbpm witout webapp
                  cpob

                  Well, since you were going to be using jBPM without a webapp, I assumed you were not going to be running inside of any application server.

                  What exactly is it that you want to do? Then we'll have a better understanding for how to help.

                  Do you want a standalone desktop Java application to do everything? Do you want that app to access a 'jBPM server'? etc?

                  • 6. Re: Using Jbpm witout webapp
                    chimera84

                    I want to write a java application (swing) that accesses a centralized bmp engine.

                    Actually we already have a complete business calculator written in java using ejb. And we want to add some process logic to it.

                    So the bpm engine will have different software an human actors to manage.

                    My Idea was to hav a ejb or jmx service that could instancite and run business processes .






                    • 7. Re: Using Jbpm witout webapp
                      cpob

                      Perhaps you could collaborate with the other person requesting a MBean to work on one together, and then contribute that to the project? :)

                      • 8. Re: Using Jbpm witout webapp
                        chimera84

                        Why not , I'll get in touch with him