5 Replies Latest reply on Jan 24, 2009 2:42 PM by Peter Johnson

    domain in jboss

    baksheen sa Newbie

      I am new to JBoss server. I am using JBoss 4.2.3 in our project.
      How can I create a jboss domain as we are creating in weblogic?

        • 1. Re: domain in jboss
          jaikiran pai Master

          What is a domain?

          • 2. Re: domain in jboss
            baksheen sa Newbie

            I have seen in weblogic t hat people used to create domains so that
            it can easily attached with our project.. in weblogic
            /console/ there will get a option to create domains. like that JBoss provides any domain?

            • 3. Re: domain in jboss
              Peter Johnson Master

              That still does not explain what a domain is.

              In JBoss AS, you can deploy an application by simply copying it to the server/xxx/deploy directory. For example, if you deploy foo.war, you can access it using the url http://localhost:8080/foo. Not sure if that answers your question.

              • 4. Re: domain in jboss
                Peter Fry Newbie

                If a domain in weblogic is the same as a domain in glassfish and the same as a component in the OracleAS then I think the poster is asking whether you can create a completely separate J2EE container within the same installation of JBoss which allows you to deploy the same EAR file into a domain/component for development purposes then into another for testing and possibly a third for production.

                Another use of domains is that you can implement application hosting much more easily i.e. you have a domain A for Customer A a domain B for customer B completely separate from each other running the same application in the same instance of your application server. You define a datasource A for Customer A in domain A and a datasource B for customer B in domain B.

                Glassfish provides a very nice admin console for this (as does WebLogic).

                • 5. Re: domain in jboss
                  Peter Johnson Master

                  I have also seen the term "domain" used to refer to what is called a "configuration" in JBoss AS. NetBeans is an example - when you select the "domain" for the app server it lists the configurations in the server directory. So yes, you can copy "default" as "domain1" and then "run -c domain1" provided you have changed the configuration to prevent port conflicts.

                  But perhaps the "domain" mentioned here is closer to the idea of virtual hosts, which is described here: http://www.jboss.org/community/docs/DOC-12549