The calculator-distributed already runs in multiple VM. Let me
describe the steps I had to do in order to run the sample in two
different machines.

In one of the machine, I ran NodeB and NodeC by doing the following :

ant runDomain
ant runNodeB
ant runNodeC

In the other machine, I ran NodeA that would connect to the remote
nodes (nodeB and NodeC). I have to modify the node composites, to
properly identify the remote uri for the nodes as follow :

   <component name="NodeB">
        <t:implementation.node uri="nodeB" composite="s:CalculatorB"/>
        <service name="Node">
            <binding.sca uri="http://tuscany1.domain.com:8200"/>
        </service>
    </component>

     <component name="NodeC">
                <t:implementation.node uri="nodeC" composite="s:CalculatorC"/>
                <service name="Node">
                        <binding.sca uri="http://tuscany1.domain.com:8300"/>
                </service>
        </component>

Then I ran nodeA :

ant runDomain
ant runNodeA


The only thing I'm not sure is how I would tell the node to connect to
a remote domain manager, that would simplify the steps to run nodeA.


On Sun, Jul 20, 2008 at 6:41 PM, Malte Marquarding
<[EMAIL PROTECTED]> wrote:
> Hi,
> any takers? I tried the API docs, but they are outdated - JIRA submitted and
> trying to build from source.
> Cheers,
> Malte



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to