此内容没有您所选择的语言版本。
9.4. The CarMart Quickstart Using JBoss Application Server
The following procedure provides directions to build the CarMart application to JBoss Application Server 7.
Prerequisite
Obtain the supported JBoss Data Grid Library Mode distribution files.
Procedure 9.1. Build CarMart to JBoss Application Server
Install the Maven Repository
For initial testing in a small team, extract the JBoss Data Grid Maven repository to a directory on the local system:unzip jboss-datagrid-maven-repository-6.0.0.zip
$ unzip jboss-datagrid-maven-repository-6.0.0.zip
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For further information about the installation methods available to install the JBoss Data Grid Maven repository, refer to Chapter 4, Install and Use the Maven Repository.Start JBoss Application Server
Use the following to start the JBoss Application Server:$JBOSS_HOME/bin/standalone.sh
$JBOSS_HOME/bin/standalone.sh
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Build your Application
Use the following command to build your application using Maven:mvn clean package -Plibrary-jbossas -Ddatagrid.maven.repo=file:///path/to/unpacked/jdg/maven/repository
$ mvn clean package -Plibrary-jbossas -Ddatagrid.maven.repo=file:///path/to/unpacked/jdg/maven/repository
Copy to Clipboard Copied! Toggle word wrap Toggle overflow