Results 1 to 5 of 5
  1. #1
    Tyron is offline Member
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default Integrate Java with Windows

    Hey guys,
    I am developing a p2p network for my final year thesis and need some help. I would like to create a folder in Windows where all files moved into it will be put on the p2p network automatically by Java. Do you know whether I can do this in Java or do I have to use another language to do so? Thanks in advance for all your help (which would be greatly appreciated :D).

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,038
    Rep Power
    10

    Default

    Define "p2p network". What exactly do you want to happen when a file is "put on" to it?

  3. #3
    Tyron is offline Member
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default

    My idea is that when a file is put in that specific folder, the file will be replicated over other peers in a P2P network. The P2P overlay network will be DHT-based.

  4. #4
    Tyron is offline Member
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default

    My idea is that when a file is put in that specific folder, the file will be replicated over other peers in a P2P network. The P2P overlay network will be DHT-based.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    You can write Java code to monitor a folder if you want. I think there's even something coming in 1.7 that will do this for you without having to write a thread for yourself.

    On change it would then call your p2p stuff.

Similar Threads

  1. Replies: 0
    Last Post: 11-20-2008, 02:49 PM
  2. Help, Integrate a Java with Matlab
    By toby in forum Advanced Java
    Replies: 2
    Last Post: 08-07-2008, 08:08 AM
  3. Integrate images and urls in any java application
    By Engineeringserver.com in forum New To Java
    Replies: 2
    Last Post: 08-07-2008, 12:46 AM
  4. Replies: 0
    Last Post: 10-29-2007, 06:34 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •