From 200a40b332420f94992eb39a6d0ea1cf1490ffc4 Mon Sep 17 00:00:00 2001 From: coreyg Date: Fri, 21 Nov 2014 09:30:19 +0000 Subject: Adding tuscany's website to their svn repo for svnpubsub git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1640879 13f79535-47bb-0310-9956-ffa450edef68 --- site/trunk/site-publish/sca-java-bindingrmi.html | 198 +++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 site/trunk/site-publish/sca-java-bindingrmi.html (limited to 'site/trunk/site-publish/sca-java-bindingrmi.html') diff --git a/site/trunk/site-publish/sca-java-bindingrmi.html b/site/trunk/site-publish/sca-java-bindingrmi.html new file mode 100644 index 0000000000..b3b97ae407 --- /dev/null +++ b/site/trunk/site-publish/sca-java-bindingrmi.html @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + Apache Tuscany : SCA Java binding.rmi + + + + + + + + + + + + + + + +
+ + + + +   + +
+ + +
+
+ + + + + + + + + +
+  Apache Tuscany > Home > SCA Overview > SCA Java > Java SCA Documentation Menu > SCA Java binding.rmi + + User List | Dev List | Issue Tracker   +
+ + + + + + + +
+ + +
+ +
+
+ + +
+ + + + + + + + + + + +
Resources
+
+ +

<binding.rmi>

+ +

Tuscany supports Remote Method Invocation (RMI) as a protocol for use with SCA services and references by using the <binding.rmi> SCDL extension.

+ +

The RMI binding enables SCA components to use or be used by any other application which uses the standard Java RMI protocol. One use of this is to easily integrate the Tuscany runtime with existing Java applications which use RMI.

+ +

This RMI binding SCDL has the following format:

+ +
+
+   <binding.rmi host="" port="" serviceName=""/>
+
+
+ + + + +

Some examples:

+ +

This example composite shows how to make an SCA component available as an RMI service:

+ +
+
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+           xmlns:rmi="http://tuscany.apache.org/xmlns/binding/rmi/1.0-SNAPSHOT"
+           name="HelloWorldRmiComposite">
+
+   <service name="HelloWorldRmiService" promote="HelloWorldServiceComponent">
+      <interface.java interface="helloworld.HelloWorldService"/>
+      <binding.rmi host="localhost" port="8099" serviceName="HelloWorldRemoteService"   />
+      <reference target="HelloWorldServiceComponent">HelloWorldServiceComponent</reference>
+   </service>
+      
+   <component name="HelloWorldServiceComponent">
+      <implementation.java class="helloworld.HelloWorldImpl"/>
+   </component>   
+  
+</composite>
+
+
+ +
+
+
+
+ + +
+ + + + + + website stats + + + + + + -- cgit v1.2.3