Re: [JXTA discuss] Need help! Service location mechanism using JXTA

Alexander Sack <[email protected]> Fri, 19 May 2006 13:12:40 +0200
Newsgroups gmane.comp.java.jxta.general
Message-ID <[email protected]>
On Fri, May 19, 2006 at 01:17:46AM -0700, nuwan rajitha wrote:
>    Actually what i want to publish are the service name,  URI  and  a 
>    service  description.
> 
>    So what is the most appropriate class among these three classes
> 
>    Module Class
>    Module Specification
>    Module Implementation

If you want to use jxta only for discovery, I would say that none of 
these is what you actually want.

I would suggest that you publish a custom advertisement in a dedicated 
peer group which contains the info you want (name, URI, description). Then,
either clients or other cluster members can discover such
advertisements through basic discovery service queries.

Of course, later you can make a complete jxta service from it
by publishing and providing implementations through jxta modules
too. But I just guess this is not what you want to do at the beginning.

Corrections and other ideas welcome.

 - Alexander

-- 
 GPG messages preferred.   |  .''`.  ** Debian GNU/Linux **
 Alexander Sack            | : :' :      The  universal
 [email protected]           | `. `'      Operating System
 http://www.asoftsite.org  |   `-    http://www.debian.org