11.5. The CarMart Quickstart Using WildFly


The following procedure provides directions to build and deploy the CarMart application to WildFly.

Note

The directions for this quickstart are for use with the selected version of WildFly, not Red Hat JBoss Data Grid itself. JBoss Data Grid does not support application deployment as described in this quickstart.
Prerequisites

Prerequisites for this procedure are as follows:

  1. Obtain the supported JBoss Data Grid Library Mode distribution files.
  2. Ensure that the JBoss Data Grid and JBoss Enterprise Application Platform Maven repositories are installed and configured. For details, see Chapter 3, Install and Use the Maven Repositories
  3. Select a JBoss server to use (JBoss Enterprise Application Platform 6 (or better) or WildFly 7 (or better).

Procedure 11.1. Build and Deploy CarMart to WildFly

  1. Start WildFly

    Navigate to the root of the WildFly server directory in a terminal window and enter the following command:
    For Linux users:
    $JBOSS_HOME/bin/standalone.sh
    
    Copy to Clipboard Toggle word wrap
    For Windows users:
    $JBOSS_HOME\bin\standalone.bat
    
    Copy to Clipboard Toggle word wrap
  2. Build and Deploy the Application

    Use the following command to build and deploy the application using Maven:
    $ mvn clean package jboss-as:deploy
    
    Copy to Clipboard Toggle word wrap
Result

The target war file (target/jboss-carmart.war) is deployed to the running instance of WildFly.

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