Author: antelder Date: Wed Nov 1 00:27:54 2006 New Revision: 469817 URL: http://svn.apache.org/viewvc?view=rev&rev=469817 Log: Copy the inner.composite sample from trunk to M2, update for m2, and add a readme Added: incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/ - copied from r469280, incubator/tuscany/java/samples/sca/inner.composite/ incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/readme.html Modified: incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/pom.xml Modified: incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/pom.xml URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/pom.xml?view=diff&rev=469817&r1=469280&r2=469817 ============================================================================== --- incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/pom.xml (original) +++ incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/pom.xml Wed Nov 1 00:27:54 2006 @@ -19,7 +19,7 @@ --> - org.apache.tuscany.samples.sca + org.apache.tuscany.sca.samples parent 1.0-incubator-M2-SNAPSHOT @@ -37,8 +37,6 @@ org.apache.tuscany.sca test - ${tuscanyVersion} - test Added: incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/readme.html URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/readme.html?view=auto&rev=469817 ============================================================================== --- incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/readme.html (added) +++ incubator/tuscany/branches/sca-java-M2/samples/standalone/inner.composite/readme.html Wed Nov 1 00:27:54 2006 @@ -0,0 +1,106 @@ + + + + + + + + + Tuscany Inner Composite Sample + + + + + +

Tuscany Inner Composite Sample

+ +

Overview

+ +

The Tuscany Inner Composite sample shows ...

+ +

Location

+ +

This sample is located  in the + samples\standalone\inner.composite directory. All the + following commands should be issued while working in the sample + directory.

+ +

Prerequisites

+ +

Obtain the following prerequisites and install according to + their documentation.

+ + + +

Building

+ +

To build the sample  issue :

+
+mvn
+
+ +

The result after executing is in the target subdirectory the sample-innercomposite.jar

+ +

Setup

+ +

Set up the Tuscany standalone runtime environment using the + following command:

+
+mvn dependency:unpack 
+
+ +

After completion there should be a target\distribution subdirectory + created that has the Tuscany standalone runtime.

+ +

Running

+ +

Execute the following command: (cut and paste to command line)

+
+java -jar target/distribution/bin/launcher.jar target/sample-innercomposite.jar
+
+ +

Results

+ +

The sample when run should simply display to the standard + output:
+ +
Main thread Thread[main,5,main] +
Source: Client.main -> Source.clientMethod +
Source: Client.main => Source.clientMethod +
Target: Client.main => Source.clientMethod +
Work thread Thread[pool-1-thread-2,5,main] +
Result: Client.main => Source.clientMethod -> Target.someMethod +
Target: Client.main -> Source.clientMethod +
Work thread Thread[pool-1-thread-3,5,main] +
Result: Client.main -> Source.clientMethod -> Target.someMethod
+

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