File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Requirements to be a PEER Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Requirements to be a PEER" Watch "Requirements to be a PEER" New topic

Requirements to be a PEER

Latha Kalaga
Ranch Hand

Joined: Nov 13, 2000
Posts: 96
How do I become a PEER and provide a service? What are the requirements? (JXTA framework, Connection to Internet, ...)
If I were to become a PEER and join a PEER GROUP, how do I get the code for all the services offered by that PEER GROUP?
Sing Li

Joined: Feb 12, 2002
Posts: 17
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
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Jxta starts with a prety low premise. The only assumption [Jxta makes is that] there's something that implements the protocol. So the requirements to be a PEER become a more interesting issue. To construct a Jxta network, we should have all sorts of Jxta implementations on all platform, such as PC, Mac, PDA, cellphone.... Right?

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
I agree. Here's the link:
subject: Requirements to be a PEER
It's not a secret anymore!