Questo contenuto non è disponibile nella lingua selezionata.

14.3. The (Non-transactional) CarMart Quickstart Using JBoss EAP


The Carmart (non-transactional) quickstart is supported for JBoss Data Grid's Library Mode with the JBoss EAP container.

14.3.1. Quickstart Prerequisites

The prerequisites for this quickstart are as follows:

14.3.2. Build and Deploy the CarMart Quickstart to JBoss EAP

The following procedure provides directions to build and deploy the CarMart application to JBoss EAP.
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 JBoss EAP 6 (or better).

Procedure 14.1. Build and Deploy CarMart to JBoss EAP

  1. Start JBoss EAP

    Depending on your operating system, use the appropriate command from the following to start the first instance of your selected application server:
    For Linux users:
    $JBOSS_HOME/bin/standalone.sh
    For Windows users:
    $JBOSS_HOME\bin\standalone.bat
  2. Navigate to the Root Directory

    Open a command line and navigate to the root directory of this quickstart.
  3. Build and Deploy the Application

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

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

14.3.3. View the CarMart Quickstart on JBoss EAP

The following procedure outlines how to view the CarMart quickstart on JBoss EAP:
Prerequisite

The CarMart quickstart must be built and deployed to be viewed.

Procedure 14.2. View the CarMart Quickstart on JBoss EAP

  • To view the application, use your browser to navigate to the following link:
    http://localhost:8080/jboss-carmart

14.3.4. Remove the CarMart Quickstart from JBoss EAP

The following procedure provides directions to remove a deployed application from JBoss EAP.

Procedure 14.3. Remove an Application from JBoss EAP

  • To remove an application, use the following from the root directory of this quickstart:
    $ mvn jboss-as:undeploy
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima