Você está na página 1de 3

ADAPTERS

1. How can u fine-tune an ADBAdapter? What are the different


parameters that can be used?
a) we can use publish by value or publish by reference for high
speed and data type support like oracle long respectively.
b) Can use polar or alerter for frequent and infrequent data
changes respectively.
c) Adb.PollingInterval, _ADB.DUPDECT.adapter_instance_name
parameters can be used to do flow control and avoid duplication
respectively
2. What are the quality of services we can have in adapter
publishing services?
RV: reliable,certified,transactional
3. What are the wire formats we can have in adapter publishing
services
wire formats:
a) RV: active enterprise message,RV message,XML message.
b)JMS: XML message
4. What are the objects, which will be created if you configure
and save ADB adapter?
Ans: Publishing table for source table, Trigger acts as a bridge
between source and publishing table
5. Explain the internal functioning of ADB publication service?
Ans: When we configure ADB publishing service it creates
Publishing table for source table, Trigger acts as a bridge between
source and publishing table. Whenever data is being
inserted/updated/deleted from source table, it will be inserted into
publishing table by means of trigger. ADB has another component
called polling agent. Polling agent will be keep looking for new
inserts into publishing table and if it finds any then converts the
record in p table into the specified wire format and publishes on
specified quality of service
6. Can we filter the records from publishing when they get
updated in source table? (Data from all regions are coming into
table but I want to publish only New York data)
Ans : Yes – By modifying the trigger we can only insert the New
York data into publishing table
7. Can we limit the number of columns to be published from the
source table?
yes, using the use? field in adapter publishing table tab. just
uncheck the columns u dont want to use.
8. Can we publish parent and child table information by
using single adapter configuration and how?
yes, in the adapter publisher table tab create a parent table first by
look up and then add the child table using the add child tab then
click on the child table column to specify the foreign key than to
establish a relationship between the primary key of the parent and
the foreign key of the child go to the column in the child table and
specify the primary key of the parent table.
in the subscription service the destination table is created and the
child table mapping tab will have the child table on the left mapped
with the parent table on the right.
10. What is publish by value and publish by reference.
Explain the pros and cons.
publish by value: in this type the changes in the source table are
reflected in the p_ table and the data is taken from there. its used
when high speed is required. it dose not support data types like
oracle long.
publish by reference: in this type the data is directly taken from
the source table where only the primary key will come from p_
table. it allows data types like oracle long.
loss of changes in the source table can be lost bcos of the waiting
time.(this can be avoided using alerter).
11. What are the types of message transfers in file adapters?
record transfer: to integrate file systems to TIBCO AE environment.
simple file transfer: to transfer files to other TIBCO adapters.
12. What is read schema and write schema in file adapter.
Read schema in the file adapter publisher config is used to define
typr of expected input. Here we can use the delimited file tupe or
the positional file type.
13. What is the difference between an ADBAdapter and JDBC
palette activities?
ans: using ADB we can only pick up the data from one database
and put it in onother one.
but using JDBC we can Query using JDBCQuery and manupulate
data using JDBCUpdate. like we can use select statements and
insert and update statements to selective query and update.
ADB adapters might be useful in scenarios where we have large
amount of data.
14. What is the difference between a FileAdapter and File
palette activities?
In file activities the file polar cannot handle multi format data and
record by record transfer .it takes care of particular format specified
and does file transfer.
where as file adapter can handle multiple formats and does record
by record transfer.
If the reference to Schema changes in "Activity Input" does it
through error, how do you correct it?
yes, and we have to correct the schema in the way the input
expects it.
Where do we specify HTTP Port number?
ans: in HTTP connection in the HTTP activities.

Você também pode gostar