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.

214 <strong>B2B</strong> <strong>Integration</strong> — A <strong>Practical</strong> <strong>Guide</strong> <strong>to</strong> <strong>Collaborative</strong> E-<strong>commerce</strong><br />

8.1. What is Middleware?<br />

The term 'middleware' is actually a misnomer <strong>to</strong> a large degree.<br />

Middleware has typically been defined as distributed software that<br />

resides in the middle of a client/server system providing a uniform<br />

'conduit' for client applications <strong>to</strong> communicate with a server. The<br />

truth is that many middleware products manage, contain and share<br />

business and application logic, operating more as a server than as<br />

'middleware'.<br />

Traditional middleware technologies include message oriented<br />

middleware (MOM), TP moni<strong>to</strong>rs and distributed object technology,<br />

though a 'purer' type of middleware would be communication conduits<br />

such as TCP/IP, DCE and RPC. Middleware products provide a highlevel<br />

abstraction through an API that shields a developer from the<br />

complexities of heterogeneous platforms and architectures.<br />

In order <strong>to</strong> accomplish the transfer of information, most middleware<br />

will follow a standard set of functions as under:<br />

• The sending application formats the information in<strong>to</strong> a message<br />

buffer using a process called marshalling.<br />

• The sending application must identify the location of the receiving<br />

application or service. The destination can be specified several ways<br />

including:<br />

1. Hard coding;<br />

2. Initialization file; and<br />

3. Middleware naming service such as JNDI or UDDI.<br />

• The sending application must initiate a network communications<br />

session with the destination application.<br />

• The sending application must transfer the message buffer <strong>to</strong> the<br />

receiving application.<br />

• The receiving application must receive the message buffer.<br />

• The receiving application must extract and interpret the information<br />

in the message using a process called unmarshalling.<br />

• If a response is required, then the receiving application must generate<br />

a response and repeat the communication process <strong>to</strong> send a message<br />

back <strong>to</strong> the sender.

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

Saved successfully!

Ooh no, something went wrong!