You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2010/02/10 01:30:17 UTC

Re: About node configuration in Calculator distribuited in tuscany sca 1.4

On Tue, Feb 9, 2010 at 4:26 PM, Antonio Mirarchi
<an...@gmail.com> wrote:
> Hi, i have some questiona about the node configuration on tuscany 1.4, in
> the example of calculator distribuited under directory
> src/main/resource/cloud there are many file, one for every node of the
> calculator, for example the nodeA has:
>
> <composite      xmlns="http://www.osoa.org/xmlns/sca/1.0"
>                 xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
>                 targetNamespace="http://sample/cloud"
>                 xmlns:s="http://sample"
>                 name="NodeA">
>
>     <component name="NodeA">
>         <t:implementation.node uri="nodeA" composite="s:CalculatorA"/>
>         <service name="Node">
>             <binding.sca uri="http://localhost:8100"/>
>         </service>
>     </component>
>
> </composite>
>
> it's possible to specify multiple binding for the node?

Is this what you are looking for (from tutorials/store/domain) ?
https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/branches/sca-java-1.4/tutorials/store/domain/cloud/StoreNode.composite



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

Re: About node configuration in Calculator distribuited in tuscany sca 1.4

Posted by Luciano Resende <lu...@gmail.com>.
On Thu, Feb 11, 2010 at 9:00 AM, Antonio Mirarchi
<an...@gmail.com> wrote:
> What is the relation between declare bindings in StoreNode.composite and
> store.composite?
>

We use that to configure base URI for the binding on the Node..
Consider the StoreNode where binding HTTP is configured to port 8100,
that's going to be used for services when creating Binding HTTP
endpoints.


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

Re: About node configuration in Calculator distribuited in tuscany sca 1.4

Posted by Antonio Mirarchi <an...@gmail.com>.
What is the relation between declare bindings in StoreNode.composite and
store.composite?

Re: About node configuration in Calculator distribuited in tuscany sca 1.4

Posted by Antonio Mirarchi <an...@gmail.com>.
yes thanks a lot.

2010/2/10 Luciano Resende <lu...@gmail.com>

> On Tue, Feb 9, 2010 at 4:26 PM, Antonio Mirarchi
> <an...@gmail.com> wrote:
> > Hi, i have some questiona about the node configuration on tuscany 1.4, in
> > the example of calculator distribuited under directory
> > src/main/resource/cloud there are many file, one for every node of the
> > calculator, for example the nodeA has:
> >
> > <composite      xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >                 xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
> >                 targetNamespace="http://sample/cloud"
> >                 xmlns:s="http://sample"
> >                 name="NodeA">
> >
> >     <component name="NodeA">
> >         <t:implementation.node uri="nodeA" composite="s:CalculatorA"/>
> >         <service name="Node">
> >             <binding.sca uri="http://localhost:8100"/>
> >         </service>
> >     </component>
> >
> > </composite>
> >
> > it's possible to specify multiple binding for the node?
>
> Is this what you are looking for (from tutorials/store/domain) ?
>
> https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/branches/sca-java-1.4/tutorials/store/domain/cloud/StoreNode.composite
>
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>