summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0.1-RC1/samples/getting-started/helloworld-withdeps/README
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2013-09-30 06:59:11 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2013-09-30 06:59:11 +0000
commit132aa8a77685ec92bc90c03f987650d275a7b639 (patch)
tree330e586f7a865c6c43a08f074ee401985e10aed6 /sca-java-2.x/tags/2.0.1-RC1/samples/getting-started/helloworld-withdeps/README
parent024e31156a43ff8db12813d6f7fb1fdd87f4a5a3 (diff)
2.0.1 RC1 release tag
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1527464 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/tags/2.0.1-RC1/samples/getting-started/helloworld-withdeps/README')
-rw-r--r--sca-java-2.x/tags/2.0.1-RC1/samples/getting-started/helloworld-withdeps/README22
1 files changed, 22 insertions, 0 deletions
diff --git a/sca-java-2.x/tags/2.0.1-RC1/samples/getting-started/helloworld-withdeps/README b/sca-java-2.x/tags/2.0.1-RC1/samples/getting-started/helloworld-withdeps/README
new file mode 100644
index 0000000000..5bb69df953
--- /dev/null
+++ b/sca-java-2.x/tags/2.0.1-RC1/samples/getting-started/helloworld-withdeps/README
@@ -0,0 +1,22 @@
+Tuscany - Getting Started - Helloworld With Dependencies Sample
+---------------------------------------------------------------
+
+This sample extends the helloworld sample to show how to use ZIP format contributions which include dependencys jar which are made available on the contribution classpath. To demonstrate this the Helloworld service is updated to use a Apache Commons Lang 3.0 utility to capatalize the first letter of the name.
+
+The changes to the helloworld sample are:
+- update sample.HelloworldImpl class is updated to use the Apache Commons Lang 3.0 WordUtils utility
+- the Maven build is updated to use the Assembly plugin to create a ZIP archive of the contrubution which includes the dependency jars
+- use a node.xml file to configure the contributions used by the Tuscany maven plugin
+
+As with all the getting-started samples you can run this sample with:
+
+ mvn tuscany:run
+
+And then as with the original helloworld sample you may explore the state of the domain with Shell commands and test the service by using the Shell "invoke" command:
+
+ invoke HelloworldComponent sayHello yourName
+
+which should return a hello text with the name capatilized:
+
+ Hello YourName
+