summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-22 09:08:47 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-22 09:08:47 +0000
commit3a99cdfedf0f2c3e2309138270433675b3a5f776 (patch)
tree5ca64664919660679512eb00b2fab10af679e95e /sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README
parenta1b887658558a9d1452585f0e4e41e34565fff72 (diff)
Tag beta3 RC1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1149505 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README')
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README
new file mode 100644
index 0000000000..cfa95a2c33
--- /dev/null
+++ b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README
@@ -0,0 +1,30 @@
+Tuscany - Getting Started - Helloworld SCAClient Sample
+-------------------------------------------------------
+
+This sample demonstrates using the OASIS SCAClient API to invoke a service in a remote SCA domain.
+
+See the README in the top-level samples folder for general information on the Tuscany samples.
+
+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 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:
+
+ HelloworldSCAClient, using domainURI uri:default
+ Calling HelloworldComponent.sayHello("world")
+ Hello world
+