[Beginner] Help with Relays...
I'm starting to work with JXTA.
I have some doubts and I would like to ask you for some help:
My application is based in a share of XML documents. The peers will not be in
a local network, they would be spread over the internet.
1) Am I need to use a Relay peer?
2) How much relays are necessary?
3) A peer can become a relay dinamically?
4) A peer can act as rendezvous and relay at same time?
5) Which protocol is recommended to use? TCP or HTTP?
If someone have some examples codes I would be very grateful.
Sorry for my english, and for the quantity of doubts.
Thanks in advance.