17.3. Build the Application


Procedure 17.3. Build the Application

  1. Open a command line and navigate to the root directory of this quickstart.
  2. Execute the following command to build the archive:
    mvn clean install
    Copy to Clipboard Toggle word wrap
  3. Copy the application to the appropriate server:
    • For Linux:
      cp adminApp/ear/target/jboss-eap-application-adminApp.ear EAP_HOME1/standalone/deployments
      cp appOne/ear/target/jboss-eap-application-AppOne.ear EAP_HOME2/standalone/deployments			
      cp appTwo/ear/target/jboss-eap-application-AppTwo.ear EAP_HOME3/standalone/deployments
      cp appTwo/ear/target/jboss-eap-application-AppTwo.ear EAP_HOME4/standalone/deployments
      Copy to Clipboard Toggle word wrap
    • For Windows:
      copy adminApp\ear\target\jboss-eap-application-adminApp.ear EAP_HOME1\standalone\deployments
      copy appOne\ear\target\jboss-eap-application-AppOne.ear EAP_HOME2\standalone\deployments
      copy appTwo\ear\target\jboss-eap-application-AppTwo.ear EAP_HOME3\standalone\deployments
      copy appTwo\ear\target\jboss-eap-application-AppTwo.ear EAP_HOME4\standalone\deployments
      Copy to Clipboard Toggle word wrap
  4. When domain mode is used, deploy the applications in the following way:
    • For Linux:
      EAP_HOME/bin/jboss-cli.sh -c --file=QUICKSTART_HOME/deploy-domain.cli
      Copy to Clipboard Toggle word wrap
    • For Windows:
      EAP_HOME\bin\jboss-cli.bat -c --file=QUICKSTART_HOME/deploy-domain.cli
      Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat