此内容没有您所选择的语言版本。

15.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.

15.3.1. Quickstart Prerequisites

The prerequisites for this quickstart are as follows:
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 7 or better).

Procedure 15.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
    Copy to Clipboard Toggle word wrap
    For Windows users:
    $JBOSS_HOME\bin\standalone.bat
    Copy to Clipboard Toggle word wrap
  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 wildfly:deploy
    Copy to Clipboard Toggle word wrap
Result

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

15.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 15.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
    Copy to Clipboard Toggle word wrap

15.3.4. Remove the CarMart Quickstart from JBoss EAP

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

Procedure 15.3. Remove an Application from JBoss EAP

  • To remove an application, use the following from the root directory of this quickstart:
    $ mvn wildfly:undeploy
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat