A p2p Java framework