Professional Documents
Culture Documents
9) What is the condition for a process in order to build the EAR file.
Ans) We need to have a process starter.
10) How can we design exception handling?
Ans) The basic method is by routing the process to another sub process whenever error occurs by
using the error transition.
11) What is the use of Render XML pallet.
Ans) It is used to create a XML file by creating the tags used in the xml file.
12) What are the elements in the WSDL file.
Ans) In abstract WSDl file we have the information about the messages ( request, reply) port type,
operation. In concrete in addition to above we have the transport information.
13) What is the use of global variables?
Ans) Global variables are useful in order to provide dynamic input at the run time.
14) What is custom activity?
Ans) Custom activity is useful when we want others to use our process and not allow them to view
the contents of the process. We can add this process into our MY Pallete section. We can directly
use this process by dragging it into our process.
15) In web service in how many ways can we create connections.
Ans) 2 ways. HTTP and JMS.
16) How does the file poller activity works.
Ans) This is a starter activity which starts the process whenever there is update for the file that is
specified.
17) What is the use of project template?
Ans) In project template we can save our standard processes that we want to use in future. These
processes are generally the ones which have the commonly used activities.
18) What is the optimum maximum number of connections in JDBC?
Ans) 10
19) What is sub process and what is its use?
Ans) Whenever we call a process from another process , the called processbecomes the
subprocess. Sub process helps in reducing the complexity of the design by assigning the activity in
other process.
10)Tcp receiver The TCP Receiver process starter starts a new process when a client requests a
TCP connection.
31. What is the purpose of JMS Queue receiver activity and Queue sender activity?
Ans: Starts a process when ever a new message comes into the specified queue.
A queue sender activity sends messages into the specified queue.
32. What are acknowledgement modes and where do you set them and what is the applicability of
each mode?
Ans:
The acknowledge mode for incoming messages. Can be one of the following:
Auto the message is automatically acknowledged when it is received.
Client the message will be acknowledged at a later point by using the Confirm activity. If the
message is not confirmed before the process instance ends, the message is redelivered and a new
process instance is created to handle the new incoming message. Ensure that your process
definition confirms the message when using this acknowledge mode.
TIBCO EMS Explicit Client Acknowledge this mode behaves exactly the same as the Client
mode, except the session is not blocked and one session can handle all incoming messages.
Dups OK the message is acknowledged automatically when it is received. JMS provides this
mode for lazy acknowledgement, but TIBCO BusinessWorks acknowledges messages upon receipt.
Transactional this mode is used when a transaction that can process JMS messages is included
in the process definition. The message is acknowledged when the transaction commits. See TIBCO
BusinessWorks Process Design Guide for more information about creating transactions that JMS
activities can participate in.
33. What is a check point activity and confirm activity?
Ans: A checkpoint saves the current process data and state so that it can be recovered at a later
time in the event of a failure. If a process engine fails, all process instances can be recovered and
resume execution at the location of their last checkpoint in the process definition.
The Confirm activity confirms any confirmable messages received by the process instance. For
example, if a process is started because of the receipt of an RVCM message, the Confirm activity
can send a confirmation message to the publisher of the RVCM message
34. What happens if you use check point activity first and confirm next?
ans:
In the case of confirmable messages , you must consider the consequences of performing a
checkpoint before or after a Confirm activity.
If the checkpoint is taken before the Confirm activity, then a crash occurs after a checkpoint but
before a confirm, the original message is resent. In this case, the restarted process can no longer
send the confirmation. However, a new process is started to handle the resent message, and you
can implement your process to handle the restarted and new processes appropriately.
If the checkpoint is taken after a Confirm activity, there is potential for a crash to occur after the
Confirm but before the checkpoint. In this case, the message is confirmed and therefore not
redelivered. The process instance is not restarted, because the crash occurred before the
checkpoint.
You must consider the type of processing your process definition performs to determine when a
checkpoint is appropriate if your process definition receives confirmable messages.
35. What is the potential problem with JMS Queue requestor?
Ans:
When we specify a reply to queue there is a chance of other processes sending messages to the
same queue and the jms queue requestor interpreting that as the actual response and sending this
wrong message to the client.
36. What is the other JMS activity you would use to address the problem?
Ans:
Get jms queue message. This incorporates a message ID to identify the true message.
37. What are the activities you used to publish the messages from BW process to network on RV?
Ans: publish rv message activity (along with the shared resource rv transport).
38. What is the transition in BW?
Ans: to move the data from one activity to another or when conditions exist on the data.
39. What are the different kinds of condition types you can have in transition? Explain Them
Ans:
a)Success :- Take this transition unconditionally. That is, always transition to the activity the transition
points to, if the activity completes successfully.
This is the default condition for transitions.
b)Success with condition :- Specify a custom condition using XPath. If the activity completes
successfully, and the condition you create evaluates to true, the transition is taken to the activity it
points to.
You can type in an XPath condition, and you can use the XPath formula builder to drag and drop
XPath expressions and data into the condition. See Chapter 9, XPath for more information about
specifying XPath conditions and using the XPath formula builder.
c)Success if no matching condition :- Take this transition when the activity completes successfully,
but only if no other transitions are taken. This is useful when multiple transitions with conditions are
drawn to other activities. This condition type can be used to handle any cases not handled by the
conditions on the other transitions.
d)Error :- Take this transition if there is an error during processing of the activity.
40. What is Generate Error activity? What the applications of it ?
Ans:This activity generates an error and causes an immediate transition to any error transitions. If
there are no error transitions, the process instance halts execution. This activity is useful in a group
or in a called process. If you would like to catch and raise your own error conditions, you can use
this activity to do so.
41. What are the shared variables and process variables?
Ans:
Process variables: Process variables are data structures available to the activities in the process.
You can define your own process variables and assign values to them in your process definition.
Process variables are defined on the Process Variables tab of the Process Definition resource. And
assigning values to these kind of variables is done using the assign activity.
Shared variables: A Shared Variable resource allows you to share data across process instances. All
process instances can read and update the data stored in a shared variable. This type of shared
variable is useful if you wish to pass data across process instances or if you wish to make a common
set of information available to all process instances.
42. What is XPATH?
Ans: isa XML based path language used to navigate the XML document and manipulate the data
43. What is XSD?
Ans: XML schema definition.
44. What is name space in XSD?
Ans: A name conflict will occur when two different documents use the same element names. So each
element is given a unique namespace.
45 what is aweb-service?
Ans: application or a network responding to some remote web-request.
46what isw a wsdl?what are different types of wsdl?
Ans:Web-services run on wsdl,it defines structure of schema.There are two types of wsdl
systems which can be used in Pub,Sub or Replyrequest mode. BW components are designer,
administrator, bw engine.
57. Why are routes used?
a. When we have to send messages from one server to another.
58. What parameters would be used to control storage in EMS?
a. Flow control property
59. What are the diff types of messaging services in RV?
a. RV
b. RVCM
c. RVCMQ
d. RVRD
60. Which transport is used between hawk agent and hawk microagent?
a. Rv
61. What re the three transport types available when configuring a tibco component?
a. HTTp, RV,local
62. What is the standard file extension of deployment files?
a. EAR
63. How many ways are there to move files between 2 secured UNIX servers
a. Sftp /https
64. What information can be found in the tibco bw tra files?
a. Service instance machine names, fault-tolerant settings, java heap sizes, jmv lib paths , repository
URL
65. Can you give one example for sync and async operation?
a. Sync-request-reply and req-reply invocation services
b. Async-publication and subscription services
66. What are the different types of queues?
a. Static-created by the user
b. Dynamic- created by the sender/receiver application at run time.
c. Temporary- created by receiver to submit the response to EMS server/Sender to get the
messages.
67. What are the various types of application property types in EMS?
a. Boolean, byte, short, char, int, long, float, double, string.
68. What are event queues?
a. An event queue contains received but undelivered messages, periodic timers, and state change
callbacks etc.
69. What are the wire formats supported by file adapter?
a. AE,XML,RV
a. It is an autonomous process that resides on each computer on which TRA is installed. Hawk
Agent uses a set of rules called rulebases to configure system management, status and automation
tasks.
90. What is the use of TIBCO Wrapper utility
a. It allows deployment of a TIBCO product or TIBCO Adapter SDK based custom adapter as a
service.
91. How is load balancing done in Randezvous?
a. Using distributed queues
92. What protocol does RV uses to communicate with in a subnet and outside the subnet?
a. UDP within a subnet
b. TCP outside subnet.
93. What is the difference between technical and functional adapters?
a. A
b. F
94. What is the use of secured queues and topics?
a. Setting secure property to queues/topics can restrict unauthorized users from publishing/sending
and subscribing/receiving the messages.
95. What is Publish by value and Publish by reference?
a. In Publish by Value, all the specified columns in the source table are copied into the Publishing
table.
b. In Publish by reference, only the specified key column values are copied to the publishing table.
96. What are the services available in Adapter?
a. Publication service
b. Subscription service
c. Request-response service
1) What is EAI?
A: It stands for Enterprise Application Integration. It is used for integrating
different types of enterprise application.
2) What is Integration?
A: It is used for Exchange of Information.
3) Why EAI or Tibco?
Because each application having their own way of representing data or called
as data format
In order to send the data one system to other we need to convert the data
into end application understandable format.
5) What is messaging?
In EAI applications communicate or application exchange information by
using messaging.
The actual data will be part of a message. In the message 60% will be meta
data the other is 40% of actual data for easier transport.
6) What is BW?
It stands for Business Works and is used for developing integration projects,
which provides design time and run time environment for developing
integration works.
7) Where you specify the Business Logics?
In process definitions we specify the Business Logics
8) What are process definitions?
Specifying the business rules to control the data flow.
9) What is Job?
The job is nothing but process instance, which represents one message.
10) What is palette?
A palette is a container for similar activities that belongs to a same domain.
XML
Extensible markup language contains data (In Tibco irrespective of type
external systems once data comes inside Tibco that will be in a from of XML.
In order to validate xml data we need to create xml schema (it is a structure).
When xml schema specifies the structure of xml data, xml schema will be
have extension of .xsd (stands for schema definition).
11) What is Parse Xml?
It takes input as xml based on xml schema it will validate and extract data
from xml
12) What is Render Xml?
It takes input as data based on xml schema it will convert data into xml file
13) What is Render Data?
It takes input as data based on the data format it gives output as a string or
binary format.
14) What is Parse Data?
It takes input as text or csv (comma separated value) and it will be validating
based on the data format and extracts the data from it.
15) What is difference between RV and EMS?
RV stands for rendezvous and EMS stands for enterprise message service
RV is bus architecture and Ems is client and server (hub and spoke)
architecture
16) What is activity?
It is like a method which take input parameter s perform logic on input
parameter and will return some result
17) How a variable will be identified in X_path or in BW?
$ Example: int I $:
iPlanet
CVS
PVCS
6.What are the different modes of service invocation?
Services can be invoked in several ways.
A one-way operation is executed once and does not wait for a response.
A request-response operation is executed once and waits for one response. In a
request-response service, communication flows in both directions. The complete
interaction consists of two point-to-point messagesa request and a response. The
interaction is only considered complete after the response has arrived.
Publication (notification) means an operation sends information on an as-needed
basis, potentially multiple times.
Subscription means incoming information is processed on an as-needed basis,
potentially multiple times.
7.What is vcrepo.dat?
TIBCO Designer creates a file named vcrepo.dat in the project root directory when
you first save the project. This file is used to store properties such as display name,
TIBCO Rendezvous encoding, and description. This file can be used for identification
in place of the project root directory and can be used as the repository locator string
(repoUrl).
8.What are the TIBCO BW activities that can participate in transactions?
Not all TIBCO BusinessWorks activities can participate in a transaction. Only the
following types of activities have transactional capabilities:
JDBC activities
JMS activities
ActiveEnterprise Adapter activities that use JMS transports
EJB activities
TIBCO iProcess BusinessWorks Connector activities
9.What are the different types of Transactions TIBCO provides?
TIBCO BusinessWorks offers a variety of types of transactions that can be used in
different situations. You can use the type of transaction that suits the needs of your
integration project. When you create a transaction group, you must specify the type
of transaction. TIBCO BusinessWorks supports the following types of transactions:
JDBC
Java Transaction API (JTA) UserTransaction
XA Transaction
10.What activities are supported in JTA Transaction?
The Java Transaction API (JTA) UserTransaction type allows:
JDBC
JMS
ActiveEnterprise Adapter (using JMS transports)
EJB activities
to participate in transactions.
UTF-8
20.What are the 4 main panels of the Designer window ?
The 4 main panels of the Designer window are
Project panel
Palette panel
Design panel
Configuration panel
21.How do you determine if there are broken references in the project?
Project -> Validate for deployment
22.Where are the Designer preferences stored ?
Designer preferences stored are stores in a file called 'Designer .prefs' in the user
home directory.
23.Explain the process configuration parameters - Max Jobs, Flow Limit & Activation
Limit ?
Max Jobs :
Max Jobs specifies the number of process instances that are kept in memmory. Once
this limit is reached newly created process instances (subject to flow limit) are
paged out to disk.0 specifies no limit and is the default.
Flow Limit :
Flow Limit specifies the maximum number of running process instances that are
spawned before the process starter is suspended ie it enters a FLOW_CONTROLLED
state and does not accept new events. This can be used to control the number of
process instances running simultaneously and when the protocol generating the
event can store the event till it is received, like email servers, JMS, RV etc. 0
specifies no limit and is the default.
Activation Limit :
Activation limit flag specifies that once a process instance is loaded it must be
placed in memmory till it completes execution. By default it is enabled.
24.What are the options for configuring storage for process engine's checkpoint
repository ?
The options for configuring storage for process engine's checkpoint repository are:
Local File
Database. Fault tolerant engines can recover from a checkpoint only when database
is used.
25.Process engines in a fault tolerant group can be configured as peers or master
secondary.How do these differ ?
The options for configuring storage for process engine's checkpoint repository are:
- Peer means all of them have the same weight. In this case when one engine fails
another one takes over and continues processing till it fails.
- In master secondary configuration weights are unequal, the secondary starts
processing when master fails. But when master recovers, secondary stops and
master continues processing.
26.What are the uses of grouping activities ?
instances. It can even be persisted and can survive BW engine restarts and even
shared across multiple BW engines(when deployed using DB persistence).
44.How do wait-notify resources work ?
Basically wait and notify should share a common notification configuration which is
just a schema definition for data that will be passed from notifier to waiter. Specific
instances of waiter & notifier are corrrelated via a key.
For example: when one process is in wait state for key 'Order-1', it waits till another
process issues a notification with the same key value.
45.What is the default Axis in XPath ?
Child axis- What this means is that when you select "BOOK" from the current
context, it selects a child node with that name, not a sibling with that name. Other
axes are parent , self , sibling etc.
46.What are the output formats for XSLT?
XML
HTML
Text
47.What does ' Success if no matching condition' transition mean ?
Lets say between two nodes N1 and N2, there are 3 success transitions with
condition and there is no success transition without condition. If none of the
conditions match then a 'Success if no matching condition' transition can be used.
Also if there is a success transition and also success transitions with condition and if
the condition matches then both the sucess transition (no condition) as well as the
transition(s) with matching conditions are followed. So you can use 'Success if no
matching condition' to prevent duplicate paths of execution.
48.What is the Purpose of $_error variable ?
$_error variable is available in the node following the error transition. It captures the
error message, error code etc.
49.What are the cases where business process cant proceed correctly subsequent to
restart from a checkpoint ?
Sending HTTP response, confirming an email/jms message etc. This is because the
confirmation or sending HTTP response has to done in the same session. When
engine crashes these sessions are closed at their socket level. In such cases send
response/confirm before checkpoint.
50.Which group do you use to wait for multiple events and proceed with the first to
occur ?
A 'Pick First Group'.