Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

Building P2P system in Java

Thread view: 
mako - 18 Dec 2007 17:34 GMT
Hi Guys . As a part of my college project, i have to build a Peer To
Peer file sharing system in Java. Can anyone tell me how should i
start. I tried studying the source code of Limewire but it was quite
difficult.

Madhur
Kira Yamato - 18 Dec 2007 17:42 GMT
> Hi Guys . As a part of my college project, i have to build a Peer To
> Peer file sharing system in Java. Can anyone tell me how should i
> start. I tried studying the source code of Limewire but it was quite
> difficult.

You can start by defining
1) the functionalities of your P2P application, and
2) the protocol of your P2P application.

Signature

-kira

Christian - 18 Dec 2007 18:18 GMT
mako schrieb:
> Hi Guys . As a part of my college project, i have to build a Peer To
> Peer file sharing system in Java. Can anyone tell me how should i
> start. I tried studying the source code of Limewire but it was quite
> difficult.
>
> Madhur

Think about what kind of p2p system you want ...

I think creating the overlay graph that you then use for communication
would be the first job.

Very easy might be a random Graph created by a pointer push and pull
operation.

---

when you did this you may want to create a sort of DHT on this random
graph ... if you want something state of the Art take a look at
distributed weighted hashing (i.e.
http://cone.informatik.uni-freiburg.de/pubs/WDHT.pdf ) .. probably not
to easy to code but they allow you very powerful searches in your p2p
network...

For filetransfer you could create a little instance of your random graph
to which all can join that want sth...
And then either wither use some BT like protocol or have a look at
Microsoft's Avalanche .. if you can implement Network Coding in in a
perfomant way this may rock.

Well the question is .. how large is the course .. how many hours can
how many people invest into the project.

Christian


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.