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 either the caculator sample
5. Build the sample by doing:
Code Block |
---|
mvn install |
6. Run the sample by doing 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 and doing executing the following:
Code Block |
---|
java -jar <path to launcher bin directory where you downloaded the standalone runtime> loanapplication.jar |
...