Java P2P file transfer

Firstly, I am VERY new to Java, but wanted to know if this is possible. I could not find any tutorials or explanations on the Internet:

Is it possible to send and receive files not through the server, but P2P. I want the file when it was selected to be sent to another computer on which the client is running. What is the best way to do this? Is there something I missed?

(Ps My first question is about using stackoverflow, please be nice: D)

+4
source share
5 answers

Give JXTA a try, it should satisfy all your needs.

Or try the DHT implementation for the P2P part and implement file transfer either through DHT, or just initiating sesssion via DHT and some other direct file transfer.

(choose DHT from this question )

+3
source

Maybe you want to see http://www.adp-gmbh.ch/blog/2004/november/15.html

Each peer in a P2P system will have both roles (receiver AND sender, each of which is both a server and a client).

0
source

It is certainly possible. Check Free Cookie Implementation

0
source

JXTA is a bit more complicated for someone new to Java, and it has some limitations regarding the scalability and performance of its communication layers. Another option is XMPP if pure P2P is optional.

0
source

The confectionery provides DHT. Its done by Java and is very easy to use. Its storage system is known as PAST, and the tutorial can be found here: https://trac.freepastry.org/wiki/tut_past

I had a lot of experience working with him.

0
source

All Articles