summaryrefslogtreecommitdiffstats
path: root/sandbox/samples/sca-extensions/binding-rmi/calculator-reference-contribution/README
diff options
context:
space:
mode:
authorfmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68>2010-09-20 13:12:13 +0000
committerfmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68>2010-09-20 13:12:13 +0000
commit2d5098e03cf92aae5e44fd8b51bbf9409d8673c6 (patch)
tree4ecc0cf17a1aaaa4353b172ea54091c23a910554 /sandbox/samples/sca-extensions/binding-rmi/calculator-reference-contribution/README
parente5c07cc6de9743faec0e6819c5cc24c1055e24b4 (diff)
Moved more samples.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/samples/sca-extensions/binding-rmi/calculator-reference-contribution/README')
-rw-r--r--sandbox/samples/sca-extensions/binding-rmi/calculator-reference-contribution/README34
1 files changed, 34 insertions, 0 deletions
diff --git a/sandbox/samples/sca-extensions/binding-rmi/calculator-reference-contribution/README b/sandbox/samples/sca-extensions/binding-rmi/calculator-reference-contribution/README
new file mode 100644
index 0000000000..2f169419ba
--- /dev/null
+++ b/sandbox/samples/sca-extensions/binding-rmi/calculator-reference-contribution/README
@@ -0,0 +1,34 @@
+Calculator RMI Reference Sample Contribution
+============================================
+
+This sample illustrates the use of Tuscany RMI Binding to call reference
+services that are hosted as Java RMI services.
+
+The README in the <distribution-unpack-dir>/samples directory provides
+general instructions about building and running samples. ( where
+distribution-unpack-dir is the directory in which you unpacked the tuscany
+binary distribution archive) Take a look there for instructions on how to launch
+this sample contribution.
+
+Sample Overview
+---------------
+This sample extends the calculator sample by replacing the local wired
+connections with RMI bindings. Instead of local add, subtract, multiply and
+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.
+Note. As this test creates and uses local network connections you may need to
+configure your firewall, if you are running one, to allow the test to run
+successfully.
+
+Amongst the other output created by the launcher/contribution combination, you should see the following output ...
+
+
+ [java] 3 + 2=5.0
+ [java] 3 - 2=1.0
+ [java] 3 * 2=6.0
+ [java] 3 / 2=1.5
+
+
+