4 Replies Latest reply on Mar 7, 2008 12:50 PM by Mark Little

    When to use Standalone Mode ?

    Olivier Lemaitre Newbie


      I wanted to know if I had well understood the ESB concepts.

      With JBoss ESB we can use service containers on a server or in a standalone mode. (The samples proove it).

      To me standalone mode if for avoiding "hub and spoke" architecture.
      Even if we need and ESB server to manage messaging and the registry it does not have to do all the integration tasks.

      I therefore think that standalone mode is to releive the server since integration tasks can be done remotly on another machine.

      I think it's really the great power of an ESB.

      However I am new to this concepts, I never praticed it and I am afraid of misunderstanding things.

      Moreover I see the threat that by using to much standalone mode it can become a mess in a company (unless they have good architects).

      So, my question would be in which cases can I use standlalone mode ?

        • 1. Re: When to use Standalone Mode ?
          Mark Little Master

          Just to add some more confusion in here, there are actually 3 modes for our ESB.

          (i) deploy into an application server/container.

          (ii) deploy into the stand-alone server/container.

          (iii) stand-alone server.

          Which "standalone" do you mean? We haven't done much with (iii) for a while, so only really (i) and (ii) are illustrated within the docs and quickstarts.

          • 2. Re: When to use Standalone Mode ?
            Olivier Lemaitre Newbie

            Hello Mark,
            By standalone mode I mean the one that uses this class :


            I guess it is the (ii) one.

            I wish I could have this class running a service on computer A and have JBoss ESB server 4.2.1GA running on computer B.

            I haven't tried it yet, I don't even know if it is possible. I anyone knows just tell me.

            Actually, I guess that the (i) mode suites most of the time in any company. But the standalone mode capability is important for me to explain ESB concepts to people.

            This way I can demonstrate that ESB is an higly distributed solution (compared to hub an spoke EAI). And I think JBoss ESB is one, maybe thanks to the standalonebootstrapper, but I am not sure of this today.

            • 3. Re: When to use Standalone Mode ?
              Kevin Conner Master

              This is the third option and it is demonstrated by most of the quickstarts.

              The readme files with the quickstarts will explain how to do it.

              • 4. Re: When to use Standalone Mode ?
                Mark Little Master

                You should be able to do what you want using (ii). There should really be no difference to (i) except for the types of services you might be able to host (e.g., no EJB3 implementations in (ii)). Give it a try.