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/05 09:23:48 UTC
svn commit: r553404 -
/incubator/tuscany/branches/sca-java-0.91/samples/README
Author: svkrish
Date: Thu Jul 5 00:23:47 2007
New Revision: 553404
URL: http://svn.apache.org/viewvc?view=rev&rev=553404
Log:
added some more info
Modified:
incubator/tuscany/branches/sca-java-0.91/samples/README
Modified: incubator/tuscany/branches/sca-java-0.91/samples/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-0.91/samples/README?view=diff&rev=553404&r1=553403&r2=553404
==============================================================================
--- incubator/tuscany/branches/sca-java-0.91/samples/README (original)
+++ incubator/tuscany/branches/sca-java-0.91/samples/README Thu Jul 5 00:23:47 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
@@ -142,11 +148,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
@@ -157,14 +167,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