Este contenido no está disponible en el idioma seleccionado.
14.3. The (Non-transactional) CarMart Quickstart Using JBoss EAP
14.3.1. Quickstart Prerequisites Copiar enlaceEnlace copiado en el portapapeles!
- Java 6.0 (Java SDK 1.6) or better
- JBoss Enterprise Application Platform 6.x or JBoss Enterprise Web Server 2.x
- Maven 3.0 or better
- Configure the Maven Repository. For details, see Chapter 3, Install and Use the Maven Repositories
14.3.2. Build and Deploy the CarMart Quickstart to JBoss EAP Copiar enlaceEnlace copiado en el portapapeles!
Prerequisites for this procedure are as follows:
- Obtain the supported JBoss Data Grid Library Mode distribution files.
- 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
- 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
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
$JBOSS_HOME/bin/standalone.sh
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For Windows users:$JBOSS_HOME\bin\standalone.bat
$JBOSS_HOME\bin\standalone.bat
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Navigate to the Root Directory
Open a command line and navigate to the root directory of this quickstart.Build and Deploy the Application
Use the following command to build and deploy the application using Maven:mvn clean package jboss-as:deploy
$ mvn clean package jboss-as:deploy
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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 Copiar enlaceEnlace copiado en el portapapeles!
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
http://localhost:8080/jboss-carmart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
14.3.4. Remove the CarMart Quickstart from JBoss EAP Copiar enlaceEnlace copiado en el portapapeles!
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
$ mvn jboss-as:undeploy
Copy to Clipboard Copied! Toggle word wrap Toggle overflow