You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2006/05/16 15:57:11 UTC
svn commit: r406946 - in /incubator/tuscany/java/samples/sca:
helloworld-jms/client/readme.htm helloworldws-celtix/readme.htm
helloworldws/readme.htm helloworldwsclient/readme.htm
Author: antelder
Date: Tue May 16 06:57:09 2006
New Revision: 406946
URL: http://svn.apache.org/viewcvs?rev=406946&view=rev
Log:
more sample setup/running changes
Modified:
incubator/tuscany/java/samples/sca/helloworld-jms/client/readme.htm
incubator/tuscany/java/samples/sca/helloworldws-celtix/readme.htm
incubator/tuscany/java/samples/sca/helloworldws/readme.htm
incubator/tuscany/java/samples/sca/helloworldwsclient/readme.htm
Modified: incubator/tuscany/java/samples/sca/helloworld-jms/client/readme.htm
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/sca/helloworld-jms/client/readme.htm?rev=406946&r1=406945&r2=406946&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworld-jms/client/readme.htm (original)
+++ incubator/tuscany/java/samples/sca/helloworld-jms/client/readme.htm Tue May 16 06:57:09 2006
@@ -28,7 +28,7 @@
sample-helloworldjms-client-incubating-M1.jar
</span>
-, all of these must be available on the classpath to run the sample. Additionally, the <a target="_blank" href="../server/readme.htm">JMS server sample</a> must also be running
+, all of these must be available on the classpath to run the sample. Additionally, the <a target="_blank" href="../server/readme.htm">JMS server sample</a> must also be running.
<h3>Running</h3>
Modified: incubator/tuscany/java/samples/sca/helloworldws-celtix/readme.htm
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/sca/helloworldws-celtix/readme.htm?rev=406946&r1=406945&r2=406946&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws-celtix/readme.htm (original)
+++ incubator/tuscany/java/samples/sca/helloworldws-celtix/readme.htm Tue May 16 06:57:09 2006
@@ -20,19 +20,22 @@
</p>
<h3>Location</h3> This sample is located in the samples\sca\helloworldws-celtix
directory.<br>
- <h3>Setup</h3>
- The jars for a <a href="../../../../docs/sampleSetup.htm" target="_blank">J2SE
- setup</a> including those necessary for web services are required
- including the sample's own jar
+
+
+ <h3>Setup</h3>This sample depends on the Tuscany runtime, Celtix, and the sample jar,
+
<span style="font-weight: bold;">
sample-helloworldws-celtix-incubating-M1.jar
</span>
- . <h3>Running</h3> In the directory samples/sca/helloworldws-celtix use the JDK 1.5 java command with the previous mentioned jars, including the tuscany-celtix.jar,
- run the class helloworld.HelloWorldServer
- <pre>
- java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:../../../lib/celtix/tuscany-celtix-incubating-M1.jar:target/sample-helloworldws-celtix-incubating-M1.jar helloworld.HelloWorldServer
- </pre>
-
+
+, all of these must be available on the classpath to run the sample.
+
+<h3>Running</h3>
+
+ In the directory samples/sca/helloworld use the JDK 1.5 java command to run the class helloworld.HelloWorldClient
+
+ <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:../../../lib/celtix/tuscany-celtix-incubating-M1.jar:target/sample-helloworldws-celtix-incubating-M1.jar helloworld.HelloWorldServer</pre>
+ <pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;../../../lib/celtix/tuscany-celtix-incubating-M1.jar;target/sample-helloworldws-celtix-incubating-M1.jar helloworld.HelloWorldServer</pre>
<h3>Code Overview</h3> The source files are physically organized as shown below:<br>
<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
Modified: incubator/tuscany/java/samples/sca/helloworldws/readme.htm
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/sca/helloworldws/readme.htm?rev=406946&r1=406945&r2=406946&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws/readme.htm (original)
+++ incubator/tuscany/java/samples/sca/helloworldws/readme.htm Tue May 16 06:57:09 2006
@@ -22,7 +22,7 @@
<span style="font-weight: bold;">sample-helloworldws-incubating-M1.war</span>
to your Tomcat's webapp directory.
<h3>Running</h3>
-This service can be invoked by the Tuscany SCA <a target="_blank" href="../helloworldwsclient/readme.htm">helloworldwsclient</a>
+This service can be invoked by the Tuscany SCA <a target="_blank" href="../helloworldwsclient/readme.htm">helloworldwsclient</a> or <a target="_blank" href="../helloworldjsclient/readme.htm">helloworldjsclient</a>
sample.<br>
<h3>Code Overview</h3>
The source files are physically organized as shown below:<br>
Modified: incubator/tuscany/java/samples/sca/helloworldwsclient/readme.htm
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/sca/helloworldwsclient/readme.htm?rev=406946&r1=406945&r2=406946&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldwsclient/readme.htm (original)
+++ incubator/tuscany/java/samples/sca/helloworldwsclient/readme.htm Tue May 16 06:57:09 2006
@@ -13,20 +13,24 @@
Tuscany SCA runtime in a J2SE environment invoking a web service. </p>
<h3>Location</h3>
This sample is located in the samples\sca\helloworldwsclient
-directory.<br><h3>Setup</h3>
-The jars for a <a href="../../../docs/sampleSetup.htm" target="_blank">J2SE setup</a> including
-those necessary
-for web services are required including the sample's own jar <span style="font-weight: bold;">helloworldwsclient-SNAPSHOT.jar</span>.
-<h3>Running</h3>
-Using JDK 1.5 java command with the previous mentioned jars run the
-class elloworldwsclient.HelloWorldClient
+directory.<br>
+
+
+<h3>Setup</h3>This sample depends on the Tuscany runtime, Axis2, and the sample jar,
+ <span style="font-weight: bold;">
+ sample-helloworldwsclient-incubating-M1.jar
+ </span>
+
+, all of these must be available on the classpath to run the sample. Additionally, one of the helloworld web services must be running, either the Tomcat version, <a target="_blank" href="../helloworldws/readme.htm">helloworldws sample</a> or the Celtix version, <a target="_blank" href="../helloworldws-celtix/readme.htm">helloworldws-celtix sample</a>.
+<ol>
+</ol>
<h3>Running</h3>
-In the directory samples/sca/helloworldwsclient use the JDK 1.5 java command with the previous mentioned jars, run the class helloworld.HelloWorldClient
- <pre>
- java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;../../../lib/axis2/tuscany-axis2-incubating-M1.jar;target/sample-helloworldwsclient-incubating-M1.jar helloworld.HelloWorldClient
- </pre>
+ In the directory samples/sca/helloworldwsclient use the JDK 1.5 java command to run the class helloworld.HelloWorldClient
+
+ <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:../../../lib/axis2/tuscany-axis2-incubating-M1.jar:target/sample-helloworldwsclient-incubating-M1.jar helloworld.HelloWorldClient</pre>
+ <pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;../../../lib/axis2/tuscany-axis2-incubating-M1.jar;target/sample-helloworldwsclient-incubating-M1.jar helloworld.HelloWorldClient</pre>
<h3>Results</h3>
<p>The sample when run should simply display to the standard