Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
15.7. The (Transactional) CarMart Quickstart Using JBoss EAP
JBossASCacheContainerProvider/TomcatCacheContainerProvider implementation classes for the CacheContainerProvider interface.
15.7.1. Quickstart Prerequisites Link kopierenLink in die Zwischenablage kopiert!
- Java 8.0 (Java SDK 1.8) or better
- JBoss Enterprise Application Platform 7.x or JBoss Enterprise Web Server 3.x
- Maven 3.0 or better
- Configure the Maven Repository. For details, see Chapter 3, Install and Use the Maven Repositories
15.7.2. Build and Deploy the Transactional CarMart Quickstart Link kopierenLink in die Zwischenablage kopiert!
Ensure that the following prerequisites are met before building and deploying the CarMart quickstart.
- Configure Maven (See Section 15.7.1, “Quickstart Prerequisites”)
- Start JBoss Enterprise Application Platform:
- In a command line terminal, navigate to the root of the JBoss EAP server directory.
- Use one of the following commands to start the server with a web profile:For Linux:
$JBOSS_HOME/bin/standalone.shFor Windows:%JBOSS_HOME%\bin\standalone.bat
Procedure 15.13. Build and Deploy the Transactional Quickstart
- Open a command line and navigate to the root directory of this quickstart.
- Enter the following command to build and deploy the archive:
mvn clean package wildfly:deploy - The
target/jboss-carmart-tx.warfile is deployed to the running instance of the server.
15.7.3. View the Transactional CarMart Quickstart Link kopierenLink in die Zwischenablage kopiert!
The CarMart quickstart must be built and deployed to be viewed.
Procedure 15.14. View the CarMart Quickstart
- To view the application, use your browser to navigate to the following link:
http://localhost:8080/jboss-carmart-tx
15.7.4. Undeploy The Transactional CarMart Quickstart Link kopierenLink in die Zwischenablage kopiert!
- In a command line terminal, navigate to the root directory of the quickstart.
- Undeploy the archive as follows:
mvn wildfly:undeploy
15.7.5. Test the Transactional CarMart Quickstart Link kopierenLink in die Zwischenablage kopiert!
- Stop JBoss EAP, if it is running.
- In a command line terminal, navigate to root directory for the quickstart.
- Build the quickstarts as follows:
mvn clean package - Run the tests as follows:
mvn test -Puitests-eap -Das7home=/path/to/server