|
|
|
|
Firsts steps and setup
Posted:
Nov 2, 2009 7:44 PM
|
|
|
Hello everybody!!
I'm a newbie in this world, but some things I have already done... I have succesfully create a rendezvous that acts as the principal router between peers, all my messages I'm sending now throught Pipes, and listening with the pipe Listener, but now I have 3 questions.
- How much time (in seconds) have to pass (normally) between the request of a peer to connect to the rendezvous? now my peer takes between 50 seconds and 65 sec, I think that this is pretty much for an application that only sends messages.
- How i can send a file to another peer, (but just one peer) in the network, currently I send a file (using pipes), and everybody on the group receives it, but just the one that have the name that i set in the messageElement downloads it. I think that there have to be one way in what a peer can send one file to only one peer on the group, how can I do this?
- I did use in my starts the networkmanager to setup my project, but did not work, then I found a project sample of JXTA, called "privatenet" and another project of a Guy called SAEED project for filesharing, but I try to use that then but also did not connect ( https://jxta-file-sharing-application.dev.java.net/ ) and ( http://radioae6rt.wordpress.com/2006/11/15/a-turnkey-private-jxta-net-demo/ ) only with this last, privatenet, i have found some succesfully connection. even across the internet.
Is very frustrating don't get a simple example that works in one try, I just want to say this for the people wich already have a working project and can say,to us what , we, the rest, have to do to start a project, I have read several megabytes of pdf, guides, tutorials, webpages, forums, etc. But or they are non updated or just speak about the theory and does not show anithing relevant.
I have to do something special with the sources of JXTA before I compile it in a jar file and use it as an library on my project, or how I have to do this?
Thanks
|
|