Skip to main content

My first JXTA app : How do I reach out to the whole Internet, not jus the L

3 replies [Last post]
erajsri
Offline
Joined: 2006-02-15

Hi ppl,

Im new to JXTA and building my first ever P2P app ! Thus Im quite eager to get it up and running. However I have certain concerns over it's functionality.
Could JXTA be used to reach peers on the whole Internet ? I mean in usual file sharing P2P apps like BearShare, Limewire, Kazaa etc you could
get your peer to connect to the whole wide Internet, not just the LAN pc's.

How do they make such a discovery possible ?

I read about Rendezvous Peers in a JXTA book, but Im not sure of the possible architecure.
Could someone explain to me how a JXTA P2P app could enable full global reach not just "limited" connectivity to the LAN ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ae6rt
Offline
Joined: 2005-10-25

You are welcome.

Take this away: JXTA is about general purpose advertisements. Advertisements describe things you have or things you want, just like the classifieds in the newspaper. In the JXTA case, advertisements manifest themselves as typically small XML documents. When you want to find something you don't have, JXTA gives you a way to ask about it. When you want to announce something you have for purposes of offering it to those who want it, JXTA gives you a way to tell about it.

Finally, when you have discovered something I have that you want, JXTA gives us a way to negotiate its transfer. All without worrying about routing - because JXTA does that for us, too.

JXTA is at its tipping point, and this is a good year to know how to program it and what services it can articulate.

ae6rt
Offline
Joined: 2005-10-25

JXTA networks require bootstrapping just like any other p2p network. There are Wiki tutorials and discussions for setting up a JXTA network here

http://wiki.java.net/bin/view/Jxta/WebHome
http://wiki.java.net/bin/view/Jxta/PrivateJxtaNetworks
http://wiki.java.net/bin/view/Jxta/ConfigProperties

The short answer is 'yes', JXTA can be used to reach peers worldwide. In fact, Sun runs a "public JXTA network" that does just that and exists for our experimentation.

I recommend Brendon Wilson's "JXTA" book for a grounding in basic JXTA technology. It is slightly dated, but very well written and worth the time to read cover to cover.

erajsri
Offline
Joined: 2006-02-15

thanx mate,

This whole JXTA stuff is pretty confusing even with a good book in hand. And the worst thing is when you need to finish off a project ( an academic one ) in a short time to spare.

Ill get back to this thread as soon as i chk out the links you have posted.