Sie sind auf Seite 1von 8

INTEGRATION SHARED SERVICES

ADB Adapter vs. JDBC Usage


Guideline

Copyright 2006 Merck & Co., Inc.


All Rights Reserved
This document is the property of Merck & Co., Inc. and is intended for internal use only.
Reproduction or transmission of this document in any form, in whole or in part,
without prior written permission of Merck & Co., Inc. is prohibited.
Page 1 of 8

ADB vs JDBC Usage Guideline


02-MAR-2007

Publication Record
Version

Revised/Issue
Date

Author /
Reviser

Description (official versions


only)

0.1
0.2

02-20-2007
03-05-2007

Rajendra Manche
Sombabu
Yenibara

Initial Version
Added ADB Adapter with RV

Document ID: TBD

Page 2 of 8

ADB vs JDBC Usage Guideline


02-MAR-2007

Table of Contents
Executive Summary........................................................................................................................4
Introduction ......................................................................................................................4
Objectives...........................................................................................................................4
Assumptions.......................................................................................................................4
References......................................................................................................................................4
Acronyms.......................................................................................................................................5
ADB Adapter VS BW-JDBC Palette..............................................................................................5
Adapter...............................................................................................................................5
BW Palette.........................................................................................................................5
TIBCO Adapter for Active Databases Using RV............................................................................7

Table of Tables
Table 1: Reference Documents.......................................................................................................4
Table 2: Acronyms.........................................................................................................................5

Document ID: TBD

Page 3 of 8

ADB vs JDBC Usage Guideline


02-MAR-2007

Executive Summary
Introduction
This document describes general guidelines and recommendations as to when to use
ADB Adapter and when one should use JDBC. This document also provides information
on ADB via RV.
Objectives
The objective of this document is to present a guideline that will assist the designers and
developers to decide when to use ADB Adapter compared with JDBC Activity.
Assumptions
This document requires a pre requisite knowledge of TIBCO ADB Adapter and JDBC.
This document is not meant to provide detailed information on ADB Adapter or JDBC
Query.

References
Table 1 provides the documents referenced for creating this document.
Information
TIBCO BW
Documentation
TIBCO ADB
Documentation

Document

URL
TBD
TBD

Table 1: Reference Documents

Document ID: TBD

Page 4 of 8

Version

ADB vs JDBC Usage Guideline


02-MAR-2007

Acronyms
Table 2 illustrates the acronyms used in this document.
ADB
BW
DB
JMS
RV

Active Database Adapter


BusinessWorks
Database
Java Messaging Service
Rendezvous
Table 2: Acronyms

ADB Adapter VS BW-JDBC Palette


The Objective of this document is to provide guidance on the use and feature
comparison of TIBCO Adapter for ActiveDatabase and BusinessWorks JDBC Palette.
Listed features are driven primarily on type of connectivity, Ease of use, Monitoring, and
Database support.
Feature

Adapter

BW Palette

Ease of
Integration

Adapter consists design time and


run time environments, which are
to be managed separately.
Adapter is a very scalable
component to handle both
inbound
and
outbound
messages.

JDBC palette for both run-time and


design-time operates in the same way.

Adapter is written using SDK and


strictly adheres to standard error
viewing and handling. Thereby
making monitoring easy.
Adapters are useful in high-tomedium load situations for both
real-time and batch-updates.
Adapter can be run on the
application machine using native
lib.
JDBC

JDBC provides error objects and rules


have to be written for error viewing and
handling.

ODBC

JDBC

Completeness

Consistent error
viewing and
handling
Transactions
Volume

Connectivity
Design Time
Connectivity
Run-Time
Transaction
Support
SQL Statements

Document ID: TBD

BW JDBC does not have a mechanism


to detect database changes in a push
environment.
* Custom code required

BW palette are useful in medium-to-low


level load real-time situation

JDBC

When asynchronous operations Useful when dealing with synchronous


are acceptable.
model and you need to take explicit
action on transaction failure
Useful when you are using Useful when the database operations are
straight forward and simple SQL not straight forward i.e. the operations
statements
depend on a lot of "if..then..else" data
Page 5 of 8

ADB vs JDBC Usage Guideline


02-MAR-2007

Ease of Data
Transformation,
parsing and
mapping
Result-set format
Exception
Handling

Database
Support

dependent clauses.
Data is transformed to desired Data
transformation,
Parsing
and
protocol format (JMS etc) at the mapping takes place in process flow.
source. Parsing and mapping
takes place in process flow.
ADB result-set
JDBC result-set, useful if integrating with
any
3rd
party
database
custom
application.
If a subscriber adapter cannot You have to implement exception
write data to its destination table, handling in the process.
it will write the data to the
exception table
Oracle, MS-SQL, Sybase, DB2

Embedded drivers are:


tibcosoftwareinc.jdbc.oracle.OracleDr
iver
tibcosoftwareinc.jdbc.sqlserver.SQLS
erverDriver
tibcosoftwareinc.jdbc.sybase.Sybase
Driver
There are additional supported
please see release doc for details

Ease of
Monitoring

Adapter enabled with Hawk


framework (admin) deployed as a
service has much fine grain
monitoring,
configuration
&
management than JDBC activity.
Component
Adapter is deployed as separate
Management
component from the process and
requires management.
Protocol support TIBCO EMS
Loop Detection
Adapter has embedded provision
to switch Loop detection on when
trying to sync data between
source and target applications.

Document ID: TBD

Page 6 of 8

drivers,

Palette monitoring can be handled as


embedded component in the process.

Palette is embedded in the process along


with data parsing, mapping etc. and does
not require separate deployment
TIBCO EMS
Depending upon implementation may or
may not require Loop Detection
implementation.

ADB vs JDBC Usage Guideline


02-MAR-2007

Outbound Scenario - TIBCO Adapter for Active Databases Using EMS


The figure shows the outbound communication from the database to EMS. This is a scenario,
which requires strict monitoring of specified tables for data changes. Using an adapter is
preferred over using a BuisnessWorks JDBC palette due to following capabilities of the adapter:
Publish data by creating a copy.
Publish by reference (without copying the data)
Update both parent and child tables within a publication

TIBCO Adapter for Active Databases Using RV


The TIBCO Rendezvous transport provides two qualities of services: Reliable and Certified. In
addition, a subscription service and Request Response service can be configured to use
distributed queues for load balancing. The BuisnessWorks JDBC palette does not provide any of
these facilities.
For request-response ADB service, the adapter provides an option to configure multi threading.
An adapter instance performs load balancing within itself by allowing you to specify the number
of threads that will be responsible for processing application requests.
A distributed queue is a group of cooperating transport objects, each in a separate process; each
transport object is called a member.
Advantage of Adapter in RVDQ mode:
Load Balancing is possible when using RVDQ.
Disadvantages of Adapter in RVDQ mode:
Distributed queues do not use ledger files. Group members automatically require old
messages from certified senders and hence duplication of messages could occur
High CPU Utilization.
Document ID: TBD

Page 7 of 8

ADB vs JDBC Usage Guideline


02-MAR-2007

Document ID: TBD

Page 8 of 8