You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2007/05/30 00:14:46 UTC

svn commit: r542675 - in /incubator/tuscany/java/sca/samples: ./ binding-echo-appl/ binding-echo/ calculator-rmi-reference/ calculator-rmi-service/ calculator-script/ calculator-web/ calculator/ helloworld-jsonrpc/ helloworld-ws-reference/ helloworld-w...

Author: lresende
Date: Tue May 29 15:14:45 2007
New Revision: 542675

URL: http://svn.apache.org/viewvc?view=rev&rev=542675
Log:
Applying Tuscany-1303 patch from Simon Nash

Modified:
    incubator/tuscany/java/sca/samples/README
    incubator/tuscany/java/sca/samples/binding-echo-appl/README
    incubator/tuscany/java/sca/samples/binding-echo/README
    incubator/tuscany/java/sca/samples/calculator-rmi-reference/README
    incubator/tuscany/java/sca/samples/calculator-rmi-service/README
    incubator/tuscany/java/sca/samples/calculator-script/README
    incubator/tuscany/java/sca/samples/calculator-web/README
    incubator/tuscany/java/sca/samples/calculator/README
    incubator/tuscany/java/sca/samples/helloworld-jsonrpc/README
    incubator/tuscany/java/sca/samples/helloworld-ws-reference/README
    incubator/tuscany/java/sca/samples/helloworld-ws-service/README
    incubator/tuscany/java/sca/samples/implementation-composite/README
    incubator/tuscany/java/sca/samples/implementation-crud-client/README
    incubator/tuscany/java/sca/samples/implementation-crud/README
    incubator/tuscany/java/sca/samples/simple-bigbank/README
    incubator/tuscany/java/sca/samples/simple-callback/README
    incubator/tuscany/java/sca/samples/supplychain/README

Modified: incubator/tuscany/java/sca/samples/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/README (original)
+++ incubator/tuscany/java/sca/samples/README Tue May 29 15:14:45 2007
@@ -1,14 +1,14 @@
 The Apache Tuscany SCA Samples
 ==============================
 The Apache Tuscany SCA samples are built as part of the main Maven build and 
-run, using the provided JUnit tests cases, as tests in the Maven build.
+run, using the provided JUnit test cases, as tests in the Maven build.
 
 In the binary distribution of Apache Tuscany the samples can also 
-be run using the provided Ant build.xml file. This shows the samples running 
+be run using the provided Ant build.xml files. These show the samples running 
 from a simple main() method without the need for a JUnit test case. 
 
 In these notes text that appears in angled brackets like this <example> means 
-that you need to make a choice and provide you own text at that point. 
+that you need to make a choice and provide your own text at that point. 
 
 Sample Overview
 ---------------
@@ -29,15 +29,15 @@
 helloworld-ws-service    - The server side of a hello world sample that uses a 
                            web service binding
 calculator-rmi-reference - The calculator configured to talk RMI to the 
-                           calculator-rmi-service samples
+                           calculator-rmi-service sample
 calculator-rmi-service   - The calculator configured to accept RMI requests 
                            from calculator-rmi-reference
-helloworld-jsonrpc       - An SCA application that exposes service using 
+helloworld-jsonrpc       - An SCA application that exposes a service using 
                            JSONRPC
-implementation-composite - An SCA application that shows how composites are used to 
-                           implement components
 simple-callback          - An SCA application with two components demonstrating
                            the callback interface
+implementation-composite - An SCA application that shows how composites are used to 
+                           implement components
 supplychain              - A more complicated sample showing how asynchronous 
                            callbacks can be used
 databinding-echo         - An SCA application that shows how databindings 
@@ -46,7 +46,7 @@
 There are two samples that demonstrate how to build extensions for the 
 Tuscany SCA runtime. These samples are slightly different from the samples
 above in that the provided code is concerned with building the extension
-and now with building an application that uses it. The application
+and not with building an application that uses it. The application
 that shows how the new extension can be used is provided in an associated
 sample. 
 
@@ -73,6 +73,7 @@
       java          - Java test sources files. Usually JUnit test cases
   target/           - Holds the files generated when the sample is built
     classes/        - For example, Java class files
+    test-classes/   - classes from src/test and other test files
 
 Getting Ready To Build
 ----------------------
@@ -211,6 +212,7 @@
 new project from existing source" you can specify an SCA module directory, 
 which includes the generated project files, and Eclipse will treat it like any
 other Java project. 
+
 
 
 

Modified: incubator/tuscany/java/sca/samples/binding-echo-appl/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo-appl/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo-appl/README (original)
+++ incubator/tuscany/java/sca/samples/binding-echo-appl/README Tue May 29 15:14:45 2007
@@ -1,7 +1,7 @@
 Binding Echo Sample Application
 ===============================
 This sample demonstrates how to use the new binding extension 
-binding-echo
+binding-echo.
 
 The README in the samples directory (the directory above this) provides 
 general instructions about building and running samples. Take a look there 
@@ -46,14 +46,14 @@
           client/
             EchoBindingClient.java - sample client
       resources/
-        EchoBindingApplication.composite  - the SCA assembly for this sample
+        EchoBinding.composite      - the SCA assembly for this sample
     test/
       java/ 
         echo
           appl/
             EchoApplTestCase.java  - sample JUnit test case for the sample 
                                      client
-  binding-echo-appl.png            - pictorial representation of the sample 
+  binding-echo.png                 - pictorial representation of the sample 
                                      .composite file
   build.xml                        - the Ant build file
   pom.xml                          - the Maven build file
@@ -73,8 +73,8 @@
 run:
      [java] Returned message: foo
      [java] Echo reference = foo
-     [java] Returned message: baa
-     [java] Echo service = baa
+     [java] Returned message: bar
+     [java] Echo service = bar
 
 
 Building And Running The Sample Using Maven 
@@ -92,9 +92,7 @@
 -------------------------------------------------------
 Running echoAppl.EchoApplTestCase
 Returned message: foo
-Echo reference = foo
-Returned message: baa
-Echo service = baa
+Returned message: bar
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.111 sec
 
 Results :

Modified: incubator/tuscany/java/sca/samples/binding-echo/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo/README (original)
+++ incubator/tuscany/java/sca/samples/binding-echo/README Tue May 29 15:14:45 2007
@@ -28,6 +28,14 @@
           provider/              - The bindings runtime classes
           server/                - A dummy server that the binding is plugged into
       resources/
+        META-INF/
+          services/
+            org.apache.sca.tuscany.sca.core.ModuleActivator - specifies the
+                                 module activation class to call
+    test/
+      java/
+        echo/                    - test code
+      resources/
         EchoBinding.composite    - the SCA assembly used by the unit test
   build.xml                      - the Ant build file
   pom.xml                        - the Maven build file

Modified: incubator/tuscany/java/sca/samples/calculator-rmi-reference/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-reference/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-rmi-reference/README (original)
+++ incubator/tuscany/java/sca/samples/calculator-rmi-reference/README Tue May 29 15:14:45 2007
@@ -38,8 +38,8 @@
 ---------------
 This sample extends the calculator sample by replacing the local wired 
 connections with RMI bindings. Instead of local add, subtract, multiply and 
-divide components a CalculatorServiceRmiImpl.java object now provides the
-add, subtract, multiple and divide interface and is hosted as an RMI server. 
+divide components, an RMI service implementation now provides the
+add, subtract, multiply and divide interfaces and is hosted as an RMI server. 
 References specified in the .composite file include an RMI binding which targets
 this RMI server.
 
@@ -56,29 +56,28 @@
           MultipleService.java    - as calculator sample
           DivideService.java      - as calculator sample
           CalculatorClient.java   - as calculator sample
-          CalculatorServiceRmiImpl- implements the RMI server interface
+          CalculatorServiceImpl.java - calls the RMI service
                                     that provides the target for the 
                                     RMI bindings in the composite 
-          CalculatorServer.java   - starts the Calculator Application 
-                                    as a Java RMI Server. Running this class 
-                                    keeps the Java RMI Server up an running 
-                                    until the 'Enter Key' is pressed on the 
-                                    console.
       resources/
         CalculatorRMIReference.composite - the SCA assembly for this sample
+    test/
+      java/
+        calculator/
+          CalculatorRMIReferenceTestCase.java - JUnit test case
+          CalculatorRMIServiceImpl.java - test RMI service to call
   calculator-rmi-reference.png    - a pictorial representation of the 
                                     .composite file
   build.xml                       - the Ant build file for the client
   pom.xml                         - the Maven build file   
   
 Note. As this test creates and uses local network connections you may need to 
-configure you firewall, if you are running one, to allow the test to run
+configure your firewall, if you are running one, to allow the test to run
 successfully.         
 
 Building And Running The Sample Using Ant
 -----------------------------------------
-With the binary distribution the sample can be built and run using Ant. Two 
-build files are used to support client and server functions. 
+With the binary distribution the sample can be built and run using Ant. 
 
 The server provides an RMI server that the acts as a target for the SCA RMI 
 bindings. Start a new console and use the following commands.
@@ -95,7 +94,7 @@
      
 The client is very similar to the calculator sample. It starts the SCA runtime
 and calls each of the calculator operations. In doing this the RMI bindings
-make calls out the the RMI server you started in the previous step. Start
+make calls out to the RMI server you started in the previous step. Start
 a new console and use the following commands. 
 
 cd calculator-rmi-reference
@@ -134,5 +133,6 @@
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 
 This shows that the Junit test cases have run successfully.
+
 
 

Modified: incubator/tuscany/java/sca/samples/calculator-rmi-service/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-service/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-rmi-service/README (original)
+++ incubator/tuscany/java/sca/samples/calculator-rmi-service/README Tue May 29 15:14:45 2007
@@ -1,9 +1,9 @@
 Calculator RMI Service Sample
-===============================
+=============================
 
 This sample illustrates the use of Tuscany RMI Binding to expose component 
 services as Java RMI Services. It also demonstrates how a simple Java RMI 
-Client application invoke the SCA Application's services exposed as RMI 
+Client application invokes the SCA Application's services exposed as RMI 
 Services.
 
 The README in the samples directory (the directory above this) provides 
@@ -51,28 +51,38 @@
       java/
         calculator/
           CalculatorService.java  - as calculator sample
+          CalculatorServiceImpl.java
           AddService.java         - as calculator sample
+          AddServiceImpl.java
           SubtractService.java    - as calculator sample
-          MultipleService.java    - as calculator sample
+          SubtractServiceImpl.java
+          MultiplyService.java    - as calculator sample
+          MultiplyServiceImpl.java
           DivideService.java      - as calculator sample
-          CalculatorClient.java   - Uses the java naming service to
+          DivideServiceImpl.java
+          CalculatorClient.java   - (Not currently used) Uses the
+                                    java naming service to
                                     look up the Calculator RMI service.
                                     It then calls add, subtract, multiple
                                     and divide methods on the service
-          CalculatorServer.java   - starts the SCA Runtime and 
-                                    deploys the Calculator.composite. 
+          CalculatorServer.java   - starts the SCA Runtime and deploys 
+                                    the CalculatorRMIServer.composite. 
                                     In doing this the SCA RMI binding
                                     acts to expose the CalculatorService
                                     over RMI.
       resources/
         CalculatorRMIServer.composite - the SCA assembly for this sample
+    test/
+      java/
+        calculator/
+          CalculatorRMIServerTestCase.java - JUnit test case
   calculator-rmi-service.png     - a pictorial representation of the 
                                     .composite file
   build.xml                       - the Ant build file for the server
   pom.xml                         - the Maven build file   
   
 Note. As this test creates and uses local network connections you may need to 
-configure you firewall, if you are running one, to allow the test to run
+configure your firewall, if you are running one, to allow the test to run
 successfully.         
 
 Building And Running The Sample Using Ant

Modified: incubator/tuscany/java/sca/samples/calculator-script/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-script/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-script/README (original)
+++ incubator/tuscany/java/sca/samples/calculator-script/README Tue May 29 15:14:45 2007
@@ -35,9 +35,10 @@
         calculator/
           CalculatorService.java  - the first component calls +-/* as 
                                     appropriate
+          CalculatorServiceImpl.java
           AddService.java         - adds two numbers
           SubtractService.java    - subtracts one number from another
-          MultipleService.java    - multiplies two numbers
+          MultiplyService.java    - multiplies two numbers
           DivideService.java      - divides one number by another
           CalculatorClient.java   - starts the SCA Runtime and 
                                     deploys the Calculator.composite. 
@@ -55,6 +56,10 @@
                                     Divide component
         Calculator.composite      - the SCA assembly for this sample
         
+    test/
+      java/
+        calculator/
+          CalculatorTestCase.java - JUnit test case 
   calculator-script.png           - a pictorial representation of the 
                                     sample .composite file
   build.xml                       - the Ant build file

Modified: incubator/tuscany/java/sca/samples/calculator-web/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-web/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-web/README (original)
+++ incubator/tuscany/java/sca/samples/calculator-web/README Tue May 29 15:14:45 2007
@@ -31,19 +31,30 @@
       java/
         calculator/
           CalculatorService.java  - As calculator sample
+          CalculatorServiceImpl.java
           AddService.java         - As calculator sample
+          AddServiceImpl.java
           SubtractService.java    - As calculator sample
-          MultipleService.java    - As calculator sample
+          SubtractServiceImpl.java
+          MultiplyService.java    - As calculator sample
+          MultiplyServiceImpl.java
           DivideService.java      - As calculator sample
-          CalculatorClient.java   - As calculator sample 
+          DivideServiceImpl.java
+          CalculatorClient.java   - As calculator sample
       resources/
         Calculator.composite      - As calculator sample
       webapp
+        META-INF/
+          sca-contribution.xml    - specifies the composite to be deployed
         WEB-INF/
           web.xml                 - defines the listener that starts up the 
                                     Tuscany SCA runtime
         calc.jsp                  - the web application that makes use of the
                                     SCA application 
+    test/
+      java/
+        calculator/
+          CalculatorTestCase.java - JUnit test case 
            
   calculator.png - a pictorial representation of the sample .composite file
   build.xml      - the Ant build file
@@ -90,4 +101,5 @@
 Again this should result in a war file (sample-calculator-web.war) in the target 
 directory. Follow the steps described in the previous section for running the web 
 app and for the expected results.
+
 

Modified: incubator/tuscany/java/sca/samples/calculator/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator/README (original)
+++ incubator/tuscany/java/sca/samples/calculator/README Tue May 29 15:14:45 2007
@@ -33,16 +33,25 @@
         calculator/
           CalculatorService.java  - the first component, calls +-/* as 
                                     appropriate
+          CalculatorServiceImpl.java
           AddService.java         - adds two numbers
+          AddServiceImpl.java
           SubtractService.java    - subtracts one number from another
-          MultipleService.java    - multiplies two numbers
+          SubtractServiceImpl.java
+          MultiplyService.java    - multiplies two numbers
+          MultiplyServiceImpl.java
           DivideService.java      - divides one number by another
+          DivideServiceImpl.java
           CalculatorClient.java   - starts the SCA Runtime and 
                                     deploys the Calculator.composite. 
                                     It then calls the deployed Calculator 
                                     Components services
       resources/
         Calculator.composite      - the SCA assembly for this sample
+    test/
+      java/
+        calculator/
+          CalculatorTestCase.java - JUnit test case 
   calculator.png                  - a pictorial representation of the sample 
                                     .composite file
   build.xml                       - the Ant build file

Modified: incubator/tuscany/java/sca/samples/helloworld-jsonrpc/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jsonrpc/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-jsonrpc/README (original)
+++ incubator/tuscany/java/sca/samples/helloworld-jsonrpc/README Tue May 29 15:14:45 2007
@@ -31,15 +31,19 @@
       java/
         helloworldjsonrpc/
           HelloWorldService.java      - service interface
-          HelloWorlsServiceImple.java - service implementation
+          HelloWorldServiceImpl.java  - service implementation
       resources/
         jsonrpc.composite             - the SCA assembly for this sample
       webapp
+        dojo/                         - the Dojo toolkit
+        META-INF/
+          sca-contribution.xml        - specifies the composite to be deployed
         WEB-INF/
           web.xml                     - defines the listener that starts up the 
                                         Tuscany SCA runtime
         HelloWorldJSONRPC.html        - the web application that calls the 
                                         SCA service via JSONRPC
+        style.css                     - style sheet     
            
   helloworld-jsonrpc.png              - a pictorial representation of the 
                                         sample .composite file
@@ -56,7 +60,7 @@
 ant package
 
 This should result in a war file (sample-helloworldjsonrpc.war) in the target 
-directory. Copy this war file to your web app deployment directory in you
+directory. Copy this war file to your web app deployment directory in your
 web app container. 
 
 The process for getting the web app running will depend on which web app container
@@ -83,4 +87,5 @@
 Again this should result in a war file (sample-calculator-web.war) in the target 
 directory. Follow the steps described in the previous section for running the web 
 app and for the expected results.
+
 

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-reference/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-reference/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-reference/README (original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-reference/README Tue May 29 15:14:45 2007
@@ -39,7 +39,7 @@
 ---------------
 The sample provides a single component that is wired to a reference with a 
 web service binding. The binding refers to WSDL that identifies the service
-exposed by the helloworld-ws-service test. 
+exposed by the helloworld-ws-service sample. 
 
 helloworld-ws-reference/
   src/
@@ -58,6 +58,12 @@
           helloworld.wsdl                 - the service description that the 
                                             SCA reference uses to bind to 
         helloworldwsclient.composite      - the SCA assembly for this sample
+        logging.properties                - log4j configuration file
+    test/
+      java/
+        helloworld/
+          HelloWorldClientTestCase.java   - JUnit test case
+          HelloWorldServerTest.java       - starts the Web service
   helloworld-ws-reference.png             - a pictorial representation of the 
                                             sample .composite file
   build.xml                               - the Ant build file
@@ -85,7 +91,7 @@
      [java] log4j:WARN No appenders could be found for logger (org.apache.axiom.
 om.util.StAXUtils).
      [java] log4j:WARN Please initialize the log4j system properly.
-     [java] Injected hellowWorldService
+     [java] Injected helloWorldService
      [java] Called getGreetings
      [java] Hello World
 
@@ -135,7 +141,7 @@
 INFO: Initializing Coyote HTTP/1.1 on http-8080
 10-May-2007 13:40:35 org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
-Injected hellowWorldService
+Injected helloWorldService
 Called getGreetings
 10-May-2007 13:40:36 org.apache.coyote.http11.Http11Protocol destroy
 INFO: Stopping Coyote HTTP/1.1 on http-8080

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-service/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-service/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-service/README (original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-service/README Tue May 29 15:14:45 2007
@@ -1,6 +1,6 @@
 Hello World Web Service Service Sample
 ======================================
-This sample  demonstrates an SCA service that uses a web service binding. 
+This sample demonstrates an SCA service that uses a web service binding. 
 
 The README in the samples directory (the directory above this) provides 
 general instructions about building and running samples. Take a look there 
@@ -44,6 +44,10 @@
           helloworld.wsdl                 - the service description that describes
                                             the exposed service
         helloworldws.composite            - the SCA assembly for this sample
+    test/
+      java/
+        helloworld/
+          HelloWorldServerTestCase.java   - JUnit test case 
   helloworld-ws-service.png               - a pictorial representation of the 
                                             sample .composite file
   build.xml                               - the Ant build file

Modified: incubator/tuscany/java/sca/samples/implementation-composite/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-composite/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-composite/README (original)
+++ incubator/tuscany/java/sca/samples/implementation-composite/README Tue May 29 15:14:45 2007
@@ -1,7 +1,7 @@
-Calculator Sample
-=================
+Composite Implementation Sample
+===============================
 
-This sample shows how composite can be used to implement components. 
+This sample shows how composites can be used to implement components. 
 
 The README in the samples directory (the directory above this) provides 
 general instructions about building and running samples. Take a look there 
@@ -36,17 +36,24 @@
       java/
         composite/
           Source.java             - interface for the source component
-          SourceCallback.java     - souce component callback interface
-          Target.java             - interfact for the target component
-          etc.
+          SourceImpl.java         - implementation for the source component
+          SourceCallback.java     - source component callback interface
+          Target.java             - interface for the target component
+          TargetImpl.java         - implementation for the target component
           CompositeClient.java    - starts the SCA Runtime and 
                                     deploys the OuterComposite.composite. 
                                     This in turn pulls in the two inner
                                     composites
       resources/
+        META-INF/
+          sca-contribution.xml    - specifies the composite to be deployed
         OuterComposite.composite  - the top level SCA assembly for this sample
         InnerComposite.composite  - included by OuterComposite.composite
         InnerComposite2.composite - included by OuterComposite.composite
+    test/
+      java/
+        composite/
+          CompositeTestCase.java  - JUnit test case
   implementation-composite.png    - a pictorial representation of the sample 
                                     .composite file
   build.xml                       - the Ant build file

Modified: incubator/tuscany/java/sca/samples/implementation-crud-client/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud-client/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud-client/README (original)
+++ incubator/tuscany/java/sca/samples/implementation-crud-client/README Tue May 29 15:14:45 2007
@@ -1,7 +1,7 @@
 Implementation CRUD Sample Client
 =================================
 This sample demonstrates how to use the new implementation extension, 
-implementation-crud
+implementation-crud.
 
 The README in the samples directory (the directory above this) provides 
 general instructions about building and running samples. Take a look there 
@@ -39,16 +39,18 @@
     main/
       java/
         crud/
-          CRUDClient.java      - sample client
+          client/
+            CRUDClient.java    - sample client
       resources/
-        crudclient.composite   - the SCA assembly used by this sample
+        crud.composite         - the SCA assembly used by this sample
           
     test/
       java/
-        crud/ 
-          CRUDTestCase.java    - sample JUnit test case for the sample client
+        crud/
+          client/
+            CRUDTestCase.java  - sample JUnit test case for the sample client
           
-  implementation-crudclient.png- a pictorial representation of the sample 
+  implementation-crud.png      - a pictorial representation of the sample 
                                  .composite file          
   build.xml                    - the Ant build file
   pom.xml                      - the Maven build file

Modified: incubator/tuscany/java/sca/samples/implementation-crud/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud/README (original)
+++ incubator/tuscany/java/sca/samples/implementation-crud/README Tue May 29 15:14:45 2007
@@ -24,11 +24,20 @@
     main/
       java/
         crud/                  - implementation model interfaces
-        crud.backend/          - fake component implementation
-        crud.impl/             - implementations of the model interfaces
-        crud.module/           - gets the implementation-crud module registered
+          backend/             - fake component implementation
+          impl/                - implementations of the model interfaces
+          module/              - gets the implementation-crud module registered
                                  with the SCA runtime
-        crud.provider/         - runtime implementation
+          provider/            - runtime implementation
+      resources/
+        META-INF/
+          services/
+            org.apache.sca.tuscany.sca.core.ModuleActivator - specifies the
+                                 module activation class to call
+    test/
+      java/
+        crud/
+          CRUDTestCase.java    - JUnit test case
       resources/
         crud.composite         - the SCA assembly used during unit testing
 

Modified: incubator/tuscany/java/sca/samples/simple-bigbank/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-bigbank/README (original)
+++ incubator/tuscany/java/sca/samples/simple-bigbank/README Tue May 29 15:14:45 2007
@@ -25,21 +25,25 @@
 ---------------
 The sample provides a composite with two java components wired together 
 with a default binding. A request to the AccountComponent results in a 
-requrest to the AccountDataComponent to get account data. The data retuns 
+request to the AccountDataComponent to get account data. The data returns 
 back via the AccountComponent to the client.
 
 calculator/
   src/
     main/
       java/
-        simple-bigbank/
-          bigbank.account         - AccountComponent implementation
-          bigbank.accountdata     - AccountDataComponent implementation
-          bigbank.client          - starts the SCA Runtime and 
+        bigbank/
+          account/                - AccountComponent implementation
+          accountdata/            - AccountDataComponent implementation
+          client/                 - starts the SCA Runtime and 
                                     deploys the BigBank.composite. 
                                     It then calls the deployed AccountService 
       resources/
         BigBank.composite         - the SCA assembly for this sample
+    test/
+      java/
+        bigbank/
+          BigBankTestCase.java    - JUnit test case 
   simple-bigbank.png              - a pictorial representation of the sample 
                                     .composite file
   build.xml                       - the Ant build file

Modified: incubator/tuscany/java/sca/samples/simple-callback/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-callback/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-callback/README (original)
+++ incubator/tuscany/java/sca/samples/simple-callback/README Tue May 29 15:14:45 2007
@@ -32,19 +32,23 @@
     main/
       java/
         simplecallback/
-          MyCient.java            - client interface 
+          MyClient.java           - client interface 
           MyClientImpl.java       - implements the client and service callback
                                     interfaces
           MyService.java          - service interface
           MyServiceCallback.java  - service callback interface, implemented by the 
                                     client
-          MyServiceImple.java     - implements the service interface
+          MyServiceImpl.java      - implements the service interface
           SimpleCallbackClient.java - starts the SCA Runtime and 
                                     deploys the simplecallback.composite. 
                                     It then calls MyClientComponent which in turn
                                     calls MyServiceComponent
       resources/
-        simplecallbac.composite   - the SCA assembly for this sample
+        simplecallback.composite  - the SCA assembly for this sample
+    test/
+      java/
+        simplecallback/
+          SimpleCallbackTestCase.java - JUnit test case 
   simple-callback.png             - a pictorial representation of the sample 
                                     .composite file
   build.xml                       - the Ant build file

Modified: incubator/tuscany/java/sca/samples/supplychain/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/supplychain/README?view=diff&rev=542675&r1=542674&r2=542675
==============================================================================
--- incubator/tuscany/java/sca/samples/supplychain/README (original)
+++ incubator/tuscany/java/sca/samples/supplychain/README Tue May 29 15:14:45 2007
@@ -1,7 +1,7 @@
 SupplyChain Sample
 ==================
 
-This sample demonstrates using the SCA components using the asynchronous API.
+This sample demonstrates SCA components using the asynchronous API.
 
 The README in the samples directory (the directory above this) provides 
 general instructions about building and running samples. Take a look there 
@@ -29,7 +29,7 @@
 The SupplyChainClient exercises this interface by calling the
 purchaseGoods operation. This results in messages passing to 
 the Retailer, Warehouse, and Shipper components and the result returned
-to the Customer service on a seperate callback thread.
+to the Customer service on a separate callback thread.
 
 calculator/
   src/
@@ -52,6 +52,10 @@
                                        
       resources/                        
         supplychain.composite          - the SCA assembly for this sample
+    test/
+      java/
+        supplychain/
+          SupplyChainClientTestCase.java - JUnit test case
   build.xml                            - the Ant build file
   pom.xml                              - the Maven build file        
 



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