A Java-based Framework for Distributing Community Services in a Peer-to-Peer Infrastructure