summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/wrapped/samples/running-tuscany/shell/README
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/sebastien/java/wrapped/samples/running-tuscany/shell/README')
-rw-r--r--sandbox/sebastien/java/wrapped/samples/running-tuscany/shell/README37
1 files changed, 37 insertions, 0 deletions
diff --git a/sandbox/sebastien/java/wrapped/samples/running-tuscany/shell/README b/sandbox/sebastien/java/wrapped/samples/running-tuscany/shell/README
new file mode 100644
index 0000000000..5c6b14cd87
--- /dev/null
+++ b/sandbox/sebastien/java/wrapped/samples/running-tuscany/shell/README
@@ -0,0 +1,37 @@
+Sample Tuscany Shell
+====================
+
+This directory contains a sample shell program supporting simple commands to
+start and stop SCA composites.
+
+See http://tuscany.apache.org/documentation-2x/20-beta-samples-documentation.html
+for more information
+
+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.
+