> I suggest that you take a look at JXTA : https://jxta.dev.java.net/

Kewl stuff this...
 
"Excellent people exceed expectations".



From: "ashok+skunkworks@parliaments.info" <ashok+skunkworks@parliaments.info>
To: Skunkworks forum <skunkworks@lists.my.co.ke>
Sent: Wednesday, April 15, 2009 6:03:55 PM
Subject: Re: [Skunkworks] Java RMI / Network Programming

On Wed, Apr 15, 2009 at 5:49 PM, Duggan Kim <mdkimani@gmail.com> wrote:
> I am writing a java based peer to peer application that requires
> remote files (pdf, text, .doc etc) in the server to be opened(run) in
> the client, the same way you would open a shared file in a different
> machine from your machine. How do I create a URL to the remote file
> considering that the file is not necessary contained in a shared
> folder, or how do you open the file via a remote File object
> reference?

You will need your application to do the following :
1 - A way to discover other peers
2 -  A mechanism to interact with these peers (send / receive information)
3 -  Read the list of 'publications' from your discovered/networked peers

I suggest that you take a look at JXTA : https://jxta.dev.java.net/
which is a library that lets you do all of the above....and should be
a good starting point.

Ashok
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general