discovering a specific peer
My goal is for a JXTA peer to discovery a specfic set of perviously known peers. The peers may be widely dispersed across the global JXTA network.
Does the JXTA Peer Discovery mechanism (J2SE implementation) have a way to say: "go discover this peer [PEERID or IP address]"?
As far as I can tell, the Peer Discovery mechanism unicasts on the local network and crawls known Rendezvous peers looking for any peers.
How can I prompt it to look for a specific peer if there's no garuntee that it is 1) on the same local network or 2) on nearby Rendezvous peers?
Does JXTA cache transport layer (aka IP addresses) of the last known location of previously encountered peers. I know it caches the JXTA Peer ID.
Alternatively, is the best approach to have both peers try to discovery & join a shared JXTA Peer Group? If so, how does one go about instantiating, publishing, discovering, etc. the peer group? I'm confused mainly as to which peer does what in which order.
P.S. If my questions are too basic, etc. can you point me to references that cover such topics or fundamental concepts that would answer my line of questions?