Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Jump-Start Guide

Note that the 2.0 alpha runtime samples distributions assume you have JDK 5 and Maven 2.04 installed.

1. Download and unzip the 2.0 alpha runtime distribution
2. Download and unzip the 2.0 alpha samples
3. Build the common sample module from the samples root directory by doing:

Code Block
mvn install

4. Go to standalone under the samples root directory and select the caculator sample
5. Build the sample by doing:

Code Block
mvn install

6. Run the sample using the following command:

Code Block
java -jar <path to launcher bin directory where you downloaded the standalone runtime> calc.jar add 1 2

7. The loan application sample may also be run by building it executing the following:

Code Block
java -jar <path to launcher bin directory where you downloaded the standalone runtime> loanapplication.jar 

Alternatively the samples can be run from the standalone runtime directory using:

Code Block
java -jar bin/launcher.jar <path to the loanapplication.jar>