Peer-to-peer and multi-agent systems technologies for knowledge management applications. An agent-oriented analysis