JVM Languages
jxtap2p.txt
Associated article: JXTA & Peer-to-Peer Networks
Tags: JVM Languages Design
Published source code accompanying the article by Sing Li in which he uses JXTA, an open- source development project to create a P2P substrate that's applicable to any hardware or software platforms. Also see JXTAP2P.ZIP.
JXTA & Peer-to-Peer Networks
by Sing Li
Listing One
public static void main(String[] argv) {
if (argv.length != 1) {
System.err.println("Usage: DDJFinder proxyServerURL");
System.exit(1);
}
DDJFinder myFinder = new DDJFinder(argv[0]);
myFinder.init();
myFinder.processMessages();
}
Listing Two
public ...


