summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0.1/samples/getting-started/helloworld-scaclient/README
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2013-10-07 22:23:21 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2013-10-07 22:23:21 +0000
commit5963a2d3d6860fe57afc138f095bf2d2eb5a7b80 (patch)
tree018d3d8c637e265b8292d34e5f7c11ca8ce11b7d /sca-java-2.x/tags/2.0.1/samples/getting-started/helloworld-scaclient/README
parent132aa8a77685ec92bc90c03f987650d275a7b639 (diff)
Official Tuscany 2.0.1 Release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1530096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/tags/2.0.1/samples/getting-started/helloworld-scaclient/README')
-rw-r--r--sca-java-2.x/tags/2.0.1/samples/getting-started/helloworld-scaclient/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/sca-java-2.x/tags/2.0.1/samples/getting-started/helloworld-scaclient/README b/sca-java-2.x/tags/2.0.1/samples/getting-started/helloworld-scaclient/README
new file mode 100644
index 0000000000..5672944c8f
--- /dev/null
+++ b/sca-java-2.x/tags/2.0.1/samples/getting-started/helloworld-scaclient/README
@@ -0,0 +1,25 @@
+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 one of the Tuscany "Getting Started" samples which provide a helloworld service, for examaple, helloworld, or helloworld-spring.
+
+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 output:
+
+ HelloworldSCAClient, using domainURI uri:default
+ Calling HelloworldComponent.sayHello("world")
+ Hello world
+