summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-09-14 13:37:53 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-09-14 13:37:53 +0000
commita799bd1b828dcf0077832ec0f9a306a59031856f (patch)
treeb4c66ccd42e36a6e07cd8aa1f85a9c47dbe70f74 /sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README
parent42ee19f055d31f63e4f073cd273a95c6b06123b5 (diff)
TUSCANY-3677 move launchers into running-tuscany folder
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@996894 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README')
-rw-r--r--sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README34
1 files changed, 34 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README b/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README
new file mode 100644
index 0000000000..abdf824621
--- /dev/null
+++ b/sca-java-2.x/trunk/samples/running-tuscany/launcher-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 mySampleContrib ../contribution-implementation-java-calculator/target/classes
+
+or:
+start myNode mySampleContrib http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.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 a sample 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.
+