18.04.2013 Views

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>B2B</strong> <strong>to</strong> P2P Evolution 475<br />

1. Core Platform — This layer enables interoperability among all<br />

P2P devices. It encapsulates services that are manda<strong>to</strong>ry for P2P<br />

networking, such as peers, peer groups and peer moni<strong>to</strong>ring.<br />

2. Services — This layer encapsulates the non-manda<strong>to</strong>ry but desired<br />

network services, such as searching, indexing and file sharing.<br />

3. Applications — This layer includes P2P applications, such as instant<br />

messaging, content management and delivery.<br />

JXTA pro<strong>to</strong>cols, messages and advertisements<br />

JXTA pro<strong>to</strong>cols are the common threads among JXTA peers. Each<br />

pro<strong>to</strong>col, as defined by JXTA, involves exchange of one or more<br />

messages (based on a pre-defined format) and advertisements among<br />

the peers.<br />

A JXTA message consists of an envelope, which defines fields such<br />

as destination address and source address and a stack, which contains<br />

the body of the message and its relevant information (see Figure 16.4).<br />

An advertisement is an XML-structured document and, therefore,<br />

platform independent, that names, describes and publishes the existence<br />

of a resource, such as a peer, a peer group, a pipe, or a service.<br />

Envelope<br />

Stack of<br />

Messages<br />

9 Ixta:// I Envelope Version<br />

i C«1MIRWeMmBttMaiiaiIIHBIHIHH^iMH«;<br />

Figure 16.4. — JXTA message definition

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!