posted 20 years ago
Hi Latha,
I wish the answer can be simple. Under the JXTA model, a peer is a logical concept and does not necessarily map to any single machine or device. For example, it is possible to run multiple peers on the same PC. A peer in JXTA is:
- a universally unique entity
- potentially a consumer of service(s)
- potentially a provider of server(s)
- a collection of physical network endpoints that can change dynamically
This definition enables JXTA to remain generic, and not restrict the design of applications in any way.
A peergroup is a logical partitioning of peers on a JXTA network.
Since your questions are physical in nature, it is highly application dependent.
For example, if you implement specifically an all-Java P2P application that uses JXTA, you can certainly dynamically download the code for services in a peergroup.
Best Regards,
Sing Li