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.

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

from application-<strong>to</strong>-application. With most middleware, 'wrappers' are<br />

developed (distributed objects) or messages queues employed (MOM)<br />

<strong>to</strong> provide a uniform communication standard between APIs.<br />

Invoking API functions from applications developed in different<br />

programming languages requires an application broker in between <strong>to</strong> do<br />

the data type conversion. This makes the calling application errorprone,<br />

which now has <strong>to</strong> deal with all kinds of interoperability issues,<br />

including hard-<strong>to</strong>-find problems such as pointers and terminating nulls.<br />

Most of the APIs do not allow for cus<strong>to</strong>mization of the application<br />

interface <strong>to</strong> better suit the needs of the user. Furthermore, API level<br />

integration makes the application tightly coupled, which has some<br />

serious drawbacks. These drawbacks are discussed later in the chapter<br />

under the heading Application Oriented <strong>Integration</strong> and <strong>B2B</strong>L<br />

3.4.2. Remote Procedure Calls (RPCs)<br />

RPCs provide a high-level communications paradigm for network<br />

applications using which the applications can invoke procedure<br />

calls across a network, irrespective of the underlying network. RPCs<br />

enable communication and integration of local and remote applications<br />

on a procedure or method level. They allow local applications <strong>to</strong> draw<br />

on the resources of remote systems and can set up cause-and-effect<br />

events.<br />

The independence from the transportation layer feature of RPC<br />

makes it very useful in <strong>B2B</strong>i as it can integrate cross-organization<br />

applications irrespective of the underlying networking mechanisms.<br />

Further, RPCs also hide other technical details of making a remote call<br />

such as parameter marshaling and context management.<br />

The current implementations of RPC include: Common Object<br />

Request Broker Architecture (CORBA), Java's Remote Method<br />

Invocation (RMI) and Microsoft's Distributed Component Object Model<br />

(DCOM).<br />

How <strong>to</strong> make a remote procedure call?<br />

RPCs enable programs <strong>to</strong> call or execute predefined functions in the<br />

same system or a remote system. Before we discuss how <strong>to</strong> make a

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

Saved successfully!

Ooh no, something went wrong!