Beruflich Dokumente
Kultur Dokumente
ADB Architecture
Features
- Automatically publish data as TIBCO RV messages when rows in pre-specified DB tables are modified Publish data by value creating a copy Publish data by reference w/o creating a copy Publish on parameterized subjects subject created from contents of PT columns Publish data using TIBCO RV reliable delivery, certified delivery or both Pre-register certified subscribers with a certified publisher Publish both parent and all related child rows when user set up to publish child data - Automatically subscribe to data published as TIBCO RV messages and modify the data in pre-specified DB tables - Use request-response semantics to publish SQL statements, stored procedures, or both on a specified subject Support both RV Message and AE Message wire formats Support RPC (Remote Procedure Calls)
Publish by Value
- Modified data in the source table is duplicated in the PT - ADB selects the data from the PT, compose a message and sends it to RV - Advantage - Publish by copy is fast - Disadvantage - Does not support some data types(Oracle LONG and LONG RAW)
Publish by Reference
- Publish data directly from the source table without copying to a publishing table - Operate on the key value of source table copied into PT - Advantage : Data to be published is stored just once Data types such as Oracle LONG and LONG RAW are supported Publishing by value from a top-level table is unsupported due to database trigger limitations - Disadvantage : Small time gap between source table modification & picked up by adapter
Parameterized Subjects
- Created from contents of one or more columns in a publishing table eg - TIBCO.ORDER.$ORDER_ID.$ORDER_DESCRIPTION - Allows receiving applications to filter publications based on value of certain fields - Supported with certified & reliable delivery - Restrictions : Max 255 char in length, with each component max 127 char (Content <= 7 Col Name)
Design-time Adapter - Used at design-time to fetch the tables from your database that need to be configured for an adapter instance.
TIBCO Run-time Agent - Provides connectivity to other applications configured for the TIBCO environment. Polling or Alerter Polling - Monitor frequent changes to PT Alerter - Asynchronously alert the adapter of infrequent changes in PT Referencing External Schemas - External schema can be referenced when specifying a publisher source table or subscriber destination table Exception Table - If a subscriber adapter fails to write data to its destination table, it will write the data to the exception table. Loop Detection - If a source table is used both as the source and destination table on the same subject, the loop detection feature should be enabled, to prevent the same changes from being published repeatedly 10
Publish-Subscribe Exercise
XXX XXX XXX XXX XXX XXX
ORDER_TABLE
Pub_Order
Sub_Order
Order_ID
Order_Description,
Order_Price
Agentone
Agenttwo
ADB.agentone.ORDER
11
CUSTOMER
XXX
XXX
Order_Details
XXX
XXX
XXX
XXX
Internal_Order_Items
External_Order_Items
12