Posted by ariel_ro
on December 28, 2009 at 1:27 PM PST
For two weeks I've been digging deep inside Jxta platform and I seem more lost than I was at the beginning.
I've read the programmer's guide along with some (rather old) books, While I know what each protocol does and what advertisments, pipes, bidipipes and so on are, I don't get how I could make two edge peers using two separate rendezvous to exchange messages.
I did the following on one rendezvous:
// Setting more configuration
Set rend = new HashSet();
On the other I did something similar except for the rendezvous IP.
I have to mention that each of my rendezvous is a bidipipe server and accepts connections from edge peers in an infinite loop. The bidipipe serves are for exchanging some dummy messages for test.
I get an warning saying: WARNING: Could not get messenger for tcp://192.168.1.4:9726 : Connection timed out: connect
I don't manage to create the connection between the rendezvous and I just can't figure out how to communicate over a rendezvous infrastructure.
Any help will be highly appreciated!
Off-topic: Jxta seems a very cool solution for developing p2p apps but lacks so much the required documentation and It's painfully difficult to grasp.