Custom advertisement discovery solution?

[email protected]
Newsgroups gmane.comp.java.jxta.user,gmane.comp.java.jxta.devel,gmane.comp.java.jxta.general
Message-ID <200508202059.16347.ggeorgak__7671.0351663225$1124560813$gmane$org@uth.gr>
I remote publish a custom adv that I created using the wiki tutorial. In the
public netPeerGroup the discovery of this advertisement is impossible. After
creating a private net peer group and registering the type of my custom
advertisement using:

class ChatAdv extends Advertisement
{
	static
	{
net.jxta.document.AdvertisementFactory.registerAdvertisementInstance(getAdver
tisementType(),new ChatAdv.Instantiator());
	}
...
}

by creating a "dummy" instance of the ChatAdv in my rendezvous peer, I was
able to discover my custom advertisement. Waiting for comments.

Giorgis Georgakoudis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.