Ken McCrary has an article in JavaWorld on accessing Gnutella using the JTella API for Java.