summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/README
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/README')
-rw-r--r--sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/README16
1 files changed, 12 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/README b/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/README
index 2bbda2cd15..0a2cd93390 100644
--- a/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/README
+++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/README
@@ -5,15 +5,23 @@ This sample demonstrates using the OASIS SCAClient API to invoke a service in a
See the README in the top-level samples folder for general information on the Tuscany samples.
-This project has a Java class with a main method which uses the SCAClient API to invoke a Helloworld
-service in a remote SCA domain.
+This project has a plain Java SE class with a main method which uses the OASIS SCAClient API to
+invoke a Helloworld service in a remote SCA domain.
Before running this sample you must have a helloworld service running in a SCA domain somewhere,
-for example, you may do using a separate command prompt and running the Tuscany
-"Getting Started - Helloworld Sample" with the command "mvn tuscany:run -DdomainURI=uri:default".
+for example, you can do that by using a separate command prompt to run the Tuscany
+"Getting Started - Helloworld Sample" with the command
+ mvn tuscany:run -DdomainURI=uri:default
+
+(including that domainURI parameter activates the Tuscany distributed domain)
+
You can then run this SCAClient sample with the Maven command:
+ mvn tuscany:run
+
+As this sample uses a standard Java SE main class you can also run it with the maven exec java plugin:
+
mvn exec:java
You should see the following oputput: