Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See http://tuscany.apache.org/documentation-2x/running-tuscany-sca-2x-with-equinox-and-felix.html

launcher-shell

This directory contains a sample shell program supporting simple commands to
start and stop SCA composites.

To build the sample shell do this:

Code Block

mvn install

To run it:

Code Block

./sca

at the prompt:

Code Block

start myNode ../../applications/store/target/sample-store.jar

or:

Code Block

start myNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar

also try:

Code Block

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.

Code Block

./sca <scripts/test.txt

or

Code Block

./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/scashellImage Added
and try the links on that page.

launcher-webapp

learning-more

...