4 Replies Latest reply on Jan 31, 2007 8:58 AM by Cameron Ingram

    Newb question about ESB

    Cameron Ingram Newbie

      We are in the process of trying to redesign a lot of our processes. We have an address change function; this address change function is duplicated throughout a lot of applications. I would like to turn it in to an AddressChangeService. The AddressChangeService needs a lot of orchestration around it, i.e. changing the address across multiple vendors, logging and authentication (making sure you are who you say you are). Is the JBoss ESB a good solution for this or is this simply an implementation of the JBPM? It seems to me that the ESB is a good fit because we want to decouple the AddressChangeService from the calling apps, of which there are many. We also want to be able to add new flavors of the AddressChangeService without redeploying all of our core applications. The one thing I have not seen, though is how do we get a response (synchronous communication) from the service i.e. Completed, needs more authentication questions to verify the user, in other words we need a response back to the calling application. I am envisioning enterprise services which we can orchestrate in new ways and add new flavors. Is the ESB a good place to starting looking for these solutions or should I save my self some time and start looking at the JBPM?


      Thanks for you time.

        • 1. Re: Newb question about ESB
          Kurt Stam Master

          Hi cingram,

          That sounds like a fun project :).

          1. On the trunk you can find a quick start that shows how to do a synchronous request (webservice_war1)

          2. I think you need both ESB and jBPM in an integrated way. Maybe you can help us making an example. It's pretty straightforward, but we just have not gotten to it.

          I think I answered all your questions, but ask them again if I didn't :)

          --Kurt

          • 2. Re: Newb question about ESB
            Daniel Brum Novice

            cingram - an ESB would be a great place to start creating re-usable services, such as the one you describe.

            JBossESB does not yet have integrated jBPM, that is something we will be working on post 4.0GA due out shortly.

            JBossESB does support a "synchronous" style of messaging, which could be done using a 2-Way Courier which will handle getting a response for you. The Trailblazer and I think some of the other examples can show you how this is done.

            I suggest you start by looking at the QuickStarts and the Trailblazer which should give you a good idea of the features available with the ESB, and will also help you visualize how you could design your service in the context of a central SOA deployment for your services.

            Come back to the forum for more help at any time.

            • 3. Re: Newb question about ESB
              Mark Little Master

              As both Kurt and Daniel say, we're looking at jBPM+ESB integration now. There is an example in progress, but due to time limitations it won't make it into the GA release. However, it should be released pretty soon afterwards.

              • 4. Re: Newb question about ESB
                Cameron Ingram Newbie

                Thanks for the replies! The JBPM isn't a breaking point for me. Once I have my service bieng called I can then have the service delegate to the JBPM for the actual one to be invoked. That to me is the easy part. I will start looking at the suggested examples immediately.