You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2009/06/08 14:12:44 UTC
Multiple domains with multiple nodes
Now that we've got working having multiple Nodes interacting together
in the one in-JVM "default" domain we're going to also need a way to
support multiple domains. I wondered about having the NodeFactory be
associated with a domain so you do something like:
nodeFactory = NodeFactory.newInstance(domainURI);
and then all nodes created from the factory belong to that domain.
Comments or alternative suggestions?
...ant
Re: Multiple domains with multiple nodes
Posted by ant elder <an...@gmail.com>.
IMHO yes we do. Sure maybe cloud computing is trending towards what
you're saying but we're a long way away from there yet, and thats just
one use case. Given that we will need a way to define a non-default
domain URI somewhere its going to be possible anyway.
So going back to the original question where do we want to specify the
domain URI? I think in the NodeFactory newInstance, are there any
other suggestions?
...ant
On Mon, Jun 8, 2009 at 4:40 PM, Raymond Feng<en...@gmail.com> wrote:
> It's technically possible. But do we really want to allow one JVM to
> participate multiple SCA domains? IMO, the SCA domain defines the boundary
> of management for SCA composite applications. With the trend of cloud
> computing, JVMs are even less partitioned into multiple applications these
> days to simplify the management, recycling and isolation.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "ant elder" <an...@gmail.com>
> Sent: Monday, June 08, 2009 5:12 AM
> To: <de...@tuscany.apache.org>
> Subject: Multiple domains with multiple nodes
>
>> Now that we've got working having multiple Nodes interacting together
>> in the one in-JVM "default" domain we're going to also need a way to
>> support multiple domains. I wondered about having the NodeFactory be
>> associated with a domain so you do something like:
>>
>> nodeFactory = NodeFactory.newInstance(domainURI);
>>
>> and then all nodes created from the factory belong to that domain.
>> Comments or alternative suggestions?
>>
>> ...ant
>
>
Re: Multiple domains with multiple nodes
Posted by Raymond Feng <en...@gmail.com>.
It's technically possible. But do we really want to allow one JVM to
participate multiple SCA domains? IMO, the SCA domain defines the boundary
of management for SCA composite applications. With the trend of cloud
computing, JVMs are even less partitioned into multiple applications these
days to simplify the management, recycling and isolation.
Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <an...@gmail.com>
Sent: Monday, June 08, 2009 5:12 AM
To: <de...@tuscany.apache.org>
Subject: Multiple domains with multiple nodes
> Now that we've got working having multiple Nodes interacting together
> in the one in-JVM "default" domain we're going to also need a way to
> support multiple domains. I wondered about having the NodeFactory be
> associated with a domain so you do something like:
>
> nodeFactory = NodeFactory.newInstance(domainURI);
>
> and then all nodes created from the factory belong to that domain.
> Comments or alternative suggestions?
>
> ...ant
Re: Multiple domains with multiple nodes
Posted by ant elder <an...@apache.org>.
On Mon, Jun 8, 2009 at 2:31 PM, Simon Laws<si...@googlemail.com> wrote:
>> I'd like to be able to have multiple domains within a single JVM.
>> Thats primarily for the tomcat runtime right now but i think it will
>> be useful for other things as well.
>>
>> ...ant
>>
>
> Can you say something about why that's required in the Tomcat case?
>
> Simon
>
Its not "required" but i think it would be useful. I'm already hitting
the problem of trying to deploy our samples and finding that have
duplicate component names and there's no reason that one Tomcat
instance should be restricted to be a single domain especially now
that the Tuscany "domain" is such a lightweight thing. If you take a
domain to be a set of SCA services providing an area of business
functionality then it makes sense to be able to have several areas of
functionality running within a single appserver.
...ant
Re: Multiple domains with multiple nodes
Posted by Simon Laws <si...@googlemail.com>.
> I'd like to be able to have multiple domains within a single JVM.
> Thats primarily for the tomcat runtime right now but i think it will
> be useful for other things as well.
>
> ...ant
>
Can you say something about why that's required in the Tomcat case?
Simon
Re: Multiple domains with multiple nodes
Posted by ant elder <an...@apache.org>.
On Mon, Jun 8, 2009 at 2:08 PM, Simon Laws<si...@googlemail.com> wrote:
> snip...
>> in the one in-JVM "default" domain we're going to also need a way to
>> support multiple domains.
>
> Do you mean multiple nodes from multiple JVMs in one domain? I'm
> questioning why you say multiple domains.
>
> Simon
>
I'd like to be able to have multiple domains within a single JVM.
Thats primarily for the tomcat runtime right now but i think it will
be useful for other things as well.
...ant
Re: Multiple domains with multiple nodes
Posted by Simon Laws <si...@googlemail.com>.
snip...
> in the one in-JVM "default" domain we're going to also need a way to
> support multiple domains.
Do you mean multiple nodes from multiple JVMs in one domain? I'm
questioning why you say multiple domains.
Simon