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>Integration</strong> Patterns 63<br />

systems — all of which may run on different platforms and hardware, be<br />

supplied from different vendors, have different data schemas and support<br />

their own dialect of structured query language (SQL). Multi-database<br />

servers provide a single, consolidated view of the data from multiple<br />

sources without physically moving the data from one source <strong>to</strong> another,<br />

thereby eliminating the need <strong>to</strong> construct a separate database of redundant<br />

data. An application which interfaces with a multi-database server does<br />

not have <strong>to</strong> know anything about the underlying data sources, as the<br />

multi-database server provides mapping, type conversion and multi-data<br />

source joins and unions. The server provides full transaction integrity<br />

by using two-phase commit pro<strong>to</strong>col for write operations which spread<br />

across multiple data sources. The server also acts as a s<strong>to</strong>rehouse of<br />

views for read-only operations, which may also span across multiple<br />

data sources.<br />

Multi-database servers are one of the emerging solutions for data<br />

oriented integration. Apart from integrating internal data sources, they<br />

can transparently access data from business partners' data sources over<br />

a network, if they are connected <strong>to</strong> Web gateways, all through the use<br />

of only a single interface and a single SQL dialect. These servers can<br />

work <strong>to</strong>gether with replication <strong>to</strong>ols, or may even support replication<br />

functionality implicitly.<br />

For instance, there can be any number of applications connected <strong>to</strong><br />

the multi-database server using either ODBC or JDBC APIs. The<br />

individual applications do not have <strong>to</strong> know about native API or SQL<br />

dialect of each data source. The server interfaces with all the data<br />

sources and invokes operations on them based on the requests received<br />

from the applications.<br />

Several companies, such as Oracle (Transparent Gateway), Sybase<br />

(OmniConnect), DB2 (DataJoiner), Attunity (Connect), provide such a<br />

solution. The support for various data sources differs from product <strong>to</strong><br />

product.<br />

Oracle's Transparent Gateway (see Figure 3.15) provides the flexibility<br />

<strong>to</strong> access transparently more than 40 non-Oracle systems, including<br />

Microsoft SQL Server, IBM DB2 and Sybase.<br />

IBM's product DB2 DataJoiner (see Figure 3.16) supports various<br />

data sources, including all members of the IBM DB2 family, Microsoft<br />

SQL Server, Oracle, Oracle RDB, Sybase, Sybase Anywhere, Informix

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

Saved successfully!

Ooh no, something went wrong!