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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

participating applications and distribute this information <strong>to</strong> all the<br />

requesting applications.<br />

Ability <strong>to</strong> communicate with peers<br />

After an application is able <strong>to</strong> locate the peers, it should be able <strong>to</strong><br />

communicate with them using messages. The communication can be a<br />

request for content, which can be originated by the user or by the<br />

application itself.<br />

Ability <strong>to</strong> share information with other peers<br />

Once the communication is established with other peers, the application<br />

should be able <strong>to</strong> receive and provide information such as content and<br />

data <strong>to</strong> them.<br />

16.2. Leading P2P Pro<strong>to</strong>cols<br />

Some of the leading P2P pro<strong>to</strong>cols are as under:<br />

16.2.1. Jabber<br />

Jabber is an instant messaging and presence notification, open source<br />

XML-based pro<strong>to</strong>col. Since it is platform neutral, Jabber is interoperable<br />

with messaging across both wireless and browser based messaging<br />

services.<br />

The real-time messages are exchanged as XML streams. Jabber's<br />

open XML pro<strong>to</strong>col contains three <strong>to</strong>p level XML elements, which in<br />

turn contain data through attributes and namespaces.<br />

1. — contains messages that are exchanged among Jabber<br />

users;<br />

2. — provides availability information about Jabber entities;<br />

and<br />

3. (info/query) — structures a rudimentary conversation between<br />

any two entities in Jabber and allows them <strong>to</strong> pass XML-formatted<br />

queries and responses back and forth.

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

Saved successfully!

Ooh no, something went wrong!