11 Replies Latest reply on Nov 18, 2008 1:57 PM by benhu

    Question about jBPM Client API

    benhu

      I am reading BPM client api documentation in this link:
      http://jbpm.dyndns.org/jbpmwiki/index.php?title=BPMUserGuide#JBossBPM_User_Guide

      It mentions ProcessManager and I find it in UML class diagram as well. But I can not find the implementation in SVN repository.

      Where can I find the up to date client API deliverables? And where is the SVN repository for that?

      Thanks!

        • 1. Re: Question about jBPM Client API
          kukeltje

          The client api is under development and not for jbpm 3 (yet). jBPM 4 will contain this. So no real deliverables, and nothing to rely on yet.

          What do you want to use it for at this moment?

          • 2. Re: Question about jBPM Client API
            benhu

            I am trying to use jBPM in my system and I am designing common interfaces layer which talks to jBPM and provides bpm support to the rest of the system. This stable jBPM API is a great thing for me because I do not need to change a lot even jBPM upgrades. Thus I want to try with the new API to better understand so that I can design my part. Do you have any suggestions for that? Thanks.

            • 3. Re: Question about jBPM Client API
              kukeltje

              The current 'api' has been fairly stable for the last 2 years, so it is not really bad thing to use (even across upgrades). The 'stable' api will not be fully ready until the 4.0 CR1 release I think. The upcoming January release of jBPM 4 (alpha 1) will contain the first cut of this stable api. So you just have to be a little patient or do what the others did.... go with the current api

              • 4. Re: Question about jBPM Client API
                benhu

                Thanks for your explanation.

                By current 'api', you mean the existing interfaces in jBPM 3 code base?

                • 5. Re: Question about jBPM Client API
                  benhu

                   

                  "kukeltje" wrote:
                  The current 'api' has been fairly stable for the last 2 years, so it is not really bad thing to use (even across upgrades). The 'stable' api will not be fully ready until the 4.0 CR1 release I think. The upcoming January release of jBPM 4 (alpha 1) will contain the first cut of this stable api. So you just have to be a little patient or do what the others did.... go with the current api


                  I forgot to mention that I am more familiar with current 'api': interfaced in jBPM 3 code base, if this is what you mean. But I am worried whether migration could be a problem later for jBPM 4 in the near future.

                  Thanks

                  • 6. Re: Question about jBPM Client API
                    kukeltje

                    What I'd suggest then (and would be a good approach anyway) is to use a what 'we' call PAO, Process Access Object, just like a DAO. Use more business friendly method signatures in these like

                    finishPayment(Amount amount) { }

                    The implementation can be jbpm 3 now and more easily changed to the jBPM 4 (stable/client) api.

                    • 7. Re: Question about jBPM Client API
                      benhu

                       

                      "kukeltje" wrote:
                      What I'd suggest then (and would be a good approach anyway) is to use a what 'we' call PAO, Process Access Object, just like a DAO. Use more business friendly method signatures in these like

                      finishPayment(Amount amount) { }

                      The implementation can be jbpm 3 now and more easily changed to the jBPM 4 (stable/client) api.



                      Thanks! I guess I might just wait for jbpm4 CR1.

                      • 8. Re: Question about jBPM Client API
                        kukeltje

                        Alpha 1 is targeted Jan 2009, not sure how many alpha's and beta's will be there before a CR, might be 4 releases, so 4x8 weeks after Jan 2009... it's up to you.

                        • 9. Re: Question about jBPM Client API
                          benhu

                           

                          "kukeltje" wrote:
                          Alpha 1 is targeted Jan 2009, not sure how many alpha's and beta's will be there before a CR, might be 4 releases, so 4x8 weeks after Jan 2009... it's up to you.


                          Sorry, I confused myself between alpha 1 and cr1. I will think about the timeline issue.

                          Thx!

                          • 10. Re: Question about jBPM Client API
                            kukeltje
                            • 11. Re: Question about jBPM Client API
                              benhu

                               

                              "kukeltje" wrote:
                              Have a look here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138169


                              Thanks! I'll check it out.