I've started bringing up the old interactive client we had contributed
once (in May 2006!), and while its still quite rough it does actually
work now. It provides a simple interactive command line console where
you can use JavaScript to query and invoke services running elsewhere
in the Tuscany distributed domain. As an example, with one Node
already started running the eightball demo this is how to use the
client:

>java -Djava.ext.dirs=..\..\..\eightball-demo\eightball\target -jar 
>target\tuscany-base-2.0-SNAPSHOT.jar client

Tuscany SCA Shell 0.1, type help() for a list of supported functions.
js> listServices()
EightBallComponent#service-binding(EightBall/EightBall)
js> s=getService("EightBallComponent")
demo.EightBall
   java.lang.String askQuestion(java.lang.String)
js> s.askQuestion("Does it work?");
Kann jetzt nicht vorhergesagt werden.
js>

Comments or suggestions for enhancements welcome...

   ...ant

Reply via email to