You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2007/05/08 16:44:43 UTC
svn commit: r536210 - /incubator/tuscany/java/sca/samples/calculator/README
Author: slaws
Date: Tue May 8 07:44:42 2007
New Revision: 536210
URL: http://svn.apache.org/viewvc?view=rev&rev=536210
Log:
make consistent with calculator-rmi-* readmes
Modified:
incubator/tuscany/java/sca/samples/calculator/README
Modified: incubator/tuscany/java/sca/samples/calculator/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator/README?view=diff&rev=536210&r1=536209&r2=536210
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator/README (original)
+++ incubator/tuscany/java/sca/samples/calculator/README Tue May 8 07:44:42 2007
@@ -10,30 +10,31 @@
Sample Overview
---------------
-This sample contains a single composite and a number of components as follows.
+The sample provides a single calculator service with a default SCA (java)
+binding. The CalculatorClient exercises this interface by calling add,
+subtract, multiply and divide operations. This results in messages passing to
+the appropriate components in the composite across the local wires.
calculator\
src\
main\
java\
calculator\
- CalculatorService.java - the first componet calls +-/* as appropriate
+ CalculatorService.java - the first componet calls +-/* as
+ appropriate
AddService.java - adds two numbers
SubtractService.java - substracts one number from another
MultipleService.java - multiplies two numbers
DivideService.java - divides one number by another
- CalculatorClient.java - used when Ant is running the sample
+ 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
calculator.png - a pictorial representation of the sample .composite file
build.xml - the Ant build file
pom.xml - the Maven build file
-
-The sample provides a single service with a default SCA (java) binding. The
-CalculatorClient exercises this interface by calling add, subtract, multiply
-and divide operations. This results in messages paaing to the appropriate
-components in the composite following the result is returned to the client and
-displayed.
Building And Runing The Sample Using Ant
----------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org