I think the simplest way is to expose a GMS API which allows for
discovery of active clusters, which should be easy in the case of
local sub-nets. It's a little tricky when crossing the sub-net
boundries, which can be overcome by distributed queries cross
networks, thus enabling such in geographically distributed clusters.
Do you see a need for such feature in your application?
Mohamed
On Feb 15, 2008, at 5:07 PM, Emanuele <mane81_at_email.it> wrote:
> Yes, something like that.
> I'll try to be more precise with an example: suppose there is a set
> of cluster in the system and clusters can be added and removed at
> runtime. Entities belonging to one cluster can move to another
> cluster according to some policies or rules. To support this sort of
> dynamism a way to find current active cluster is necessary.
>
> I think that I have to go deeper into JXTA api, but I would
> appreciate any useful hints because I'm really new to Jxta :)
>
> Emanuele
>
> Shreedhar Ganapathy wrote:
>> Does Jxta expose any api to query the world peer group for a
>> specific infrastructure netpeergroup by name ?
>>
>> I think something of that kind is what Emanuele is asking for.
>>
>>
>>
>> Mohamed Abdelaziz wrote:
>>> Provided the cluster mcast port is known, discovery in world group
>>> could be employed to discover cluster instances, a functionality
>>> which could be exposed in shoal.
>>>
>>> Mohamed
>>>
>>> On Feb 15, 2008, at 2:14 PM, Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM
>>> > wrote:
>>>
>>>> I am sure Jxta has some way to determine that. We probably dont
>>>> know of it and hence Shoal Apis dont expose it. Would wait for
>>>> Mohamed's response on this.
>>>>
>>>> Emanuele wrote:
>>>>> Hi.
>>>>> If I don't know any group names, there is a way to find the
>>>>> clusters currently instantiated in my network?
>>>>> Thanks
>>>>>
>>>>> Emanuele
>>>>>
>>>>>
>>>>> --
>>>>> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>>>>>
>>>>> Sponsor:
>>>>> Ti vestiamo dalla testa ai piedi e anche sotto se lo vuoi !
>>>>> Clicca su www.grandinettisport.com
>>>>> * Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7502&d=15-2
>>>>>
>>>>> ---
>>>>> ------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
>>>>> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>>>>>
>>>>
>>>> ---
>>>> ------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
>>>> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>>>>
>>>
>>> ---
>>> ------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
>>> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
>> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>>
>>
>
> --
> Email.it, the professional e-mail, gratis per te: http://
> www.email.it/f
> Sponsor:
> Cerchi un gioiello speciale ad un prezzo davvero imbattibile?
> Sceglilo su
> * A&A Diamonds.com e lo riceverai a casa tua in 24 ore!
> * Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7476&d=16-2
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>