P2P application using Java