From 88bf2a256b02e1858993bf097f4dc743d389e3f0 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 29 Aug 2010 02:55:29 +0000 Subject: Sandbox to experiment and extend the runtime. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990479 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/extend/samples/launcher-shell/README | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 sandbox/sebastien/java/extend/samples/launcher-shell/README (limited to 'sandbox/sebastien/java/extend/samples/launcher-shell/README') diff --git a/sandbox/sebastien/java/extend/samples/launcher-shell/README b/sandbox/sebastien/java/extend/samples/launcher-shell/README new file mode 100644 index 0000000000..abdf824621 --- /dev/null +++ b/sandbox/sebastien/java/extend/samples/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