You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sv...@apache.org on 2007/07/24 11:47:42 UTC

svn commit: r558986 - /incubator/tuscany/java/sca/samples/README

Author: svkrish
Date: Tue Jul 24 02:47:41 2007
New Revision: 558986

URL: http://svn.apache.org/viewvc?view=rev&rev=558986
Log:
merging changes from 0.91 release branch

Modified:
    incubator/tuscany/java/sca/samples/README

Modified: incubator/tuscany/java/sca/samples/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/README?view=diff&rev=558986&r1=558985&r2=558986
==============================================================================
--- incubator/tuscany/java/sca/samples/README (original)
+++ incubator/tuscany/java/sca/samples/README Tue Jul 24 02:47:41 2007
@@ -10,6 +10,12 @@
 In these notes text that appears in angled brackets like this <example> means 
 that you need to make a choice and provide your own text at that point. 
 
+These simple samples have been created with the intention of illustrating the 
+usage of the SCA API and annotations and certainly not to levels of SCA component 
+abstraction.  In real life situations you should use SCA to assemble real and 
+usually bigger components, and when you do that you'll get all the benefits of 
+SCA, bindings, policies, integration in an SOA environment etc..
+
 Sample Overview
 ---------------
 The samples generally show off different features of the SCA runtime
@@ -18,14 +24,13 @@
 
 calculator               - A calculator built with java components and local 
                            wires
-simple-bigbank           - A banking application built with java components 
-                           and local wires
 calculator-script        - The calculator but this time built using various 
                            script languages
 calculator-webapp        - The calculator again but this time running inside a 
                            web app
 chat-webapp              - A simple chat style web app demonsrating how to use
                            the AJAX binding
+feed-aggregator          - Demonstrates using the ATOM binding
 helloworld-ws-reference  - The client side of a hello world sample that uses a 
                            web service binding
 helloworld-ws-service    - The server side of a hello world sample that uses a 
@@ -36,6 +41,8 @@
                            from calculator-rmi-reference
 helloworld-jsonrpc       - An SCA application that exposes a service using 
                            JSONRPC
+helloworld-dojo          - An SCA application that exposes a service using 
+                           JSONRPC and a client using the Dojo toolkit
 simple-callback          - An SCA application with two components demonstrating
                            the callback interface
 simple-callback-ws       - An SCA application with two components demonstrating
@@ -46,6 +53,8 @@
                            callbacks can be used
 databinding-echo         - An SCA application that shows how databindings 
                            transform data
+simple-bigbank           - A banking application built with java components 
+                           and local wires
 
 There are two samples that demonstrate how to build extensions for the 
 Tuscany SCA runtime. These samples are slightly different from the samples
@@ -54,12 +63,12 @@
 that shows how the new extension can be used is provided in an associated
 sample. 
 
-implementation-crud        - Shows how to build new implementation type 
-                             extensions
-implementation-crud-client - A sample application that exercises the new 
+implementation-crud-extension - Shows how to build new implementation type 
+                                extensions
+implementation-crud        - A sample application that exercises the new 
                              implementation extensions
-binding-echo               - Shows how to build new binding extensions
-binding-echo-appl          - A sample application that exercises the new 
+binding-echo-extension     - Shows how to build new binding extensions
+binding-echo               - A sample application that exercises the new 
                              binding extension
 
 Sample Layout
@@ -141,11 +150,15 @@
 
 on Windows
 
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar calculator.CalculatorClient
+java -cp ..\..\lib\tuscany-sca-manifest.jar;target\<sample jar file> <sample runnable class>
+
+for example : java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar calculator.CalculatorClient
 
 on *nix 
 
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar calculator.CalculatorClient
+java -cp ../../lib/tuscany-sca-manifest.jar:target/<sample jar file> <sample runnable class>
+
+for example : java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar calculator.CalculatorClient
 
 
 You can use the compiled classes directly using
@@ -156,14 +169,18 @@
 
 on Windows
 
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\classes calculator.CalculatorClient
+java -cp ..\..\lib\tuscany-sca-manifest.jar;target\classes <sample runnable class>
+
+for example : java -cp ..\..\lib\tuscany-sca-manifest.jar;target\classes calculator.CalculatorClient
 
 on *nix 
 
-java -cp ../../lib/tuscany-sca-manifest.jar:target/classes calculator.CalculatorClient
+java -cp ../../lib/tuscany-sca-manifest.jar:target/classes <sample runnable class>
+
+for example : java -cp ../../lib/tuscany-sca-manifest.jar:target/classes calculator.CalculatorClient
 
 The class specified on the command of course depends on which sample you want to 
-run. In this case we are running the CalculatorClient from the calculator sample. 
+run. In the examples we have used we are running the CalculatorClient from the calculator sample. 
 
 
 Building And Running The SCA Samples Using Maven



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org