diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-11 10:17:50 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-11 10:17:50 +0000 |
commit | a6c13e185445b76346028325db1616c9f9687d19 (patch) | |
tree | a647d35bfd97be852b5b8ad5beaecc8c8e7e2256 /sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/README | |
parent | 6d685c8e138af8d18bc71181ec630ccb9a17bdd9 (diff) |
Add a sample using jsonrpc
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1091007 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/README')
-rw-r--r-- | sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/README | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/README b/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/README new file mode 100644 index 0000000000..7f901fc77f --- /dev/null +++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/README @@ -0,0 +1,27 @@ +Tuscany - Getting Started - Helloworld Sample
+---------------------------------------------
+
+This sample demonstrates a simple helloworld style SCA application and how to run that with Tuscany.
+
+See the README in the top-level samples folder for general information on the Tuscany samples.
+
+This project creates an SCA contribution with a deployable composite named helloworld.composite.
+The composite defines an SCA component, HelloworldComponent, which provides a Helloworld service,
+the component is implemented by a Java class.
+
+You can use the contribution by starting the composite in the Tuscany Shell. To do that run the
+following command in the helloworld folder:
+
+ mvn tuscany:run
+
+
+
+ http://localhost:8080/HelloworldComponent/Helloworld?method=sayHello¶ms=WyJXb3JsZCJd&id=1
+
+
+
+ {"id":1,"result":"Hello World"}
+
+
+
+
|