summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/README
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-23 19:35:42 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-23 19:35:42 +0000
commitc6eb46690f9463ba250f3c6dfcac5a8ab8df3d5c (patch)
treea3a7757ca7fbbcacb4c3612ae77f4b0675d80c65 /sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/README
parent63a695c42ab6a87252a45288cee9cadb495726db (diff)
Add a helloworld sample for the JSONP binding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1150200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/README27
1 files changed, 27 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/README b/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/README
new file mode 100644
index 0000000000..7f901fc77f
--- /dev/null
+++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/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&params=WyJXb3JsZCJd&id=1
+
+
+
+ {"id":1,"result":"Hello World"}
+
+
+
+