1 Reply Latest reply on Apr 1, 2003 7:56 PM by gmatthews

    Several applications, one physical server

    randahl

      If you have 10 EJB solutions running on one machine, and these solutions have a common code base, I would like to know which configuration is prefered:

      1. 10 instances of JBoss each running one solution.
      2. 1 instance of JBoss running 10 solutions.

      I suppose configuration 2 is the standard approach, but I wonder if solution 1 is relevant sometimes. Any comments or experiences?

      Thanks
      Randahl

        • 1. Re: Several applications, one physical server
          gmatthews

          I've got about 6-7 J2EE apps running on my dev box at home, and then one prod site with 3 apps (2 of which are J2EE).

          People can then get on my machine over the net and see the current status of an app in development before it gets loaded into prod.

          No probs.

          The only issues are:

          1. that i decided to prefix the EJBs with the application name so i didn't get a JNDI name collision when all the apps start loading.

          e.g. call bean "myApp1/Billing" and "myApp2/Billing" instead of just "Billing".

          2. obvious issues about restarting server brings down all apps, but seems to be ok just touching the application.xml which bounces only a single app at a time.

          Greg.