Java P2P - what options are there?

I want to write a decentralized application that will work on some kind of peer-to-peer structure. I have fairly limited requirements:

  • Search for peers offering a particular service.
  • advertising services
  • Connect directly to other nodes.
  • work through NAT (so relay and rendevous support)

I know about JXTA, but what other options exist? JXTA seems a bit of a nightmare to implement - is there anything else that can offer a less complete protocol stack in exchange for simplicity and ease of deployment?

thanks

+4
source share
3 answers

JXTA is something of a matured p2p overlay implementation. I use Pastry (its also written in java). Surf Pastry and have fun ... :)

+2
source

Looks like something XMPP (Jabber) can solve. It's not true P2P (it has servers), but the servers are interconnected and mature.

+1
source

Take a look at the parameters of these theses:

0
source

Source: https://habr.com/ru/post/1315455/


All Articles