William Brogden wrote:A google search for "java peer to peer" will reveal that other people have tackled this problem.
Sun's preferred solution is JXTA but you can find plenty of others.
Bill
William Brogden wrote:A google search for "java jxta lan" reveals that a number of people have asked about JXTA on a Lan and gotten suggestions.
Bill
William Brogden wrote:It sounds like you have already written functions for much of what JXTA does so I suspect you would have to make major changes in your existing code to use JXTA. Perhaps it will be easier to continue with your current architecture and you will certainly learn a LOT about distributed systems.
William Brogden wrote:
What do you have running now when one of your peers has discovered that another peer has a desired file?
Bill
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Paul Clapham wrote:
And in among all that code, I couldn't find your actual question. Could you tell us again what it is?
Paul Clapham wrote:
And in among all that code, I couldn't find your actual question. Could you tell us again what it is?
William Brogden wrote:If you want to continue with the existing code, you better review it for consistent treatment of byte streams as bytes, I see at least one place where you are creating a Reader - that will always attempt to interpret bytes as 16 bit characters in some character set.
Bill
could you be more specific as to where i should treat bytes consistently?
Omkar Patwardhan wrote:i want to give all the clients or the nodes where a software gets installed the facility to make groups and addd nodes or join already existing groups. how to do it?
Don't get me started about those stupid light bulbs. |