summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0-Beta1/samples/running-tuscany/shell/README
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-10-26 07:46:08 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-10-26 07:46:08 +0000
commit6865c59e74f19ed6057d03583944b47abd6e036e (patch)
tree3324c11c7ca4f5ca12f15619ce30e9824e198480 /sca-java-2.x/branches/2.0-Beta1/samples/running-tuscany/shell/README
parent0d6d7922ed17cca55ec36ff2626d1080e76d6d13 (diff)
Create branch for next release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/running-tuscany/shell/README34
1 files changed, 34 insertions, 0 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/running-tuscany/shell/README b/sca-java-2.x/branches/2.0-Beta1/samples/running-tuscany/shell/README
new file mode 100644
index 0000000000..9745f57ad9
--- /dev/null
+++ b/sca-java-2.x/branches/2.0-Beta1/samples/running-tuscany/shell/README
@@ -0,0 +1,34 @@
+Sample Tuscany Shell
+====================
+
+This directory contains a sample shell program supporting simple commands to
+start and stop SCA composites.
+
+To build the sample shell do this:
+mvn install
+
+To run it:
+./sca
+
+at the prompt:
+start myNode ../../applications/store/target/sample-store.jar
+
+or:
+start myNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+
+also try:
+status
+stop myNode
+bye
+
+Starting and stopping composites is pretty fast. To see that, try the following
+two scripts, which start/stop the sample store composite 10 times.
+
+./sca <scripts/test.txt
+or
+./sca <scripts/test-remote.txt
+
+The shell can also run as a Webapp. To try it install target/scashell.war in
+a Web container, point your Web browser to http://localhost:8080/scashell
+and try the links on that page.
+