Professional Documents
Culture Documents
Ans: There are 3 types of variables available in Tibco BusinessWorks. They are
i) Global variables
ii) Process variables
iii) Shared Variables
2. What are the Global variables and what is the use of Global variables?
Ans: these variables allow you to specify constants that can be used throughout the
project. The constants can be specified and changed while designing and testing
your project. You can also specify different values for each deployment of your
project.
5. What is the difference between Deployment and Service level Global Variables?
Ans: Deployment: Select the deployment check box to make the variable visible and
we can change the value of Global Variable, when deploying using TIBCO
Administrator. If the check box is clear, the variable is not visible in TIBCO
Administrator.
• Service: Service indicates that the variable should be included when the Include
all service level global variables option is selected when building the enterprise
archive file. A variable that can be changeable on a per-service basis can be set
for each adapter service. This option is used for TIBCO adapter archives. TIBCO
ActiveMatrix BusinessWorks does not use this setting.
7. What is the difference between Shared Variables and job shared variables?
Ans: Shared Varaibles: Shared Variables allow you to specify data for use across
multiple process instances. Because multiple process instances can access the same
variable.
Job Shared Variable:
A Job Shared Variable shared configuration resource allows you to store the data
for use by each process instance. A copy of the variable is created for each new
process instance. This resource is useful for passing data to and from sub-
processes without creating an input or output schema for the called process.
13) When we save a project what files are created under the saved project folder.
Ans) In that folder we see the Aeschema folder, all processes create in that
project and the vcrepo.dat file.
16) What is the condition for a process in order to build the EAR file.
Ans) We need to have a process starter.
28) What are the process variables that are available to all activities as inputs.
Ans) global variables and process context.
Ans: the inspector activity is used to obtain the output of any activity or all the
activities and process variables.
Scenario: You can use the inspector activity to write the output of any activity or
process variable in the current process. Activities and process variables in a
subprocess are not available to the Inspector activity (but the output of a Call
Process activity can be written using the Inspector activity). If you wish to
obtain the output from one or more activities or process variables in a subprocess,
place the Inspector activity in the process definition of the subprocess.
34)Can you tell me at least four starter activities and when they get executed?
Ans:
Adapter subscriber, adap request response server :-When ever a message comes
into a destination queue or network, listens to a request from a adapter and sends
a response back to that adapter
File poller :- polls for any changes that occur in the file and with any change
grabs the whole file.
Timer:- receive notification Starts a process on the time specified ex: before
JDBC QUERY, starts a process on receiving of data from a notify activity.
http receiver :-Starts a process based on a request from http server.
Jms queue receiver, jms topic subscriber :- Starts a process when ever a new
message comes into the specified queue, starts a process when ever there is a new
message in the specified topic.
Receive mail :- The Receive Mail process starter polls a POP3 mail server for
new mail. When new mail is detected and retrieved, the Receive Mail process starter
starts a new process for the process definition it resides in and passes the mail
data to the next activity in the process flow.
Rv subscriber:- The Rendezvous Subscriber process starter creates a process
when a TIBCO Rendezvous message on the given subject is received.
Rmi server :- The RMI Server process starter registers the specified remote
object name with the specified registry server and then creates process instances
to handle incoming requests for the object. The process definition acts as the
implementation of the specified object.
Soap event source :- The SOAP Event Source process starter creates a process
instance for incoming SOAP requests. SOAP is a standard protocol for invoking web
services. This allows you to create a web service using process definitions.
At runtime, a client can retrieve the WSDL file for a process containing this
process starter using an HTTP request. Once the WSDL is retrieved, the client can
perform a SOAP request to invoke the web service.
Tcp receiver The TCP Receiver process starter starts a new process when a
client requests a TCP connection.
35) 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.
36) 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.
38) 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.
40) 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.
41) 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).
43) 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.
50) What is a Home Queue and what is a Routed Queue in EMS routes?
a. Home Queue: The global queue sitting in the EMS server, where Route is being
created.
b. Routed Queue: the global queue sitting in the EMS server where the queue name is
referring to route.
58) What are the components installed when you install TRA?
a. TIBCO designer
b. Java Runtime Environment
c. TIBCO Hawk Agent
d. TIBCO Rendezvous
e. TIBCO Domain Utility
f. TIBCO Wrapper etc.
61) What protocol does RV uses to communicate with in a subnet and outside the
subnet?
a. UDP within a subnet
b. TCP outside subnet.
63)What is the Global variable used for pointing the certificate location?
%%BW_GLOBAL_TRUSTED_CA_STORE%%
64)If your project has 10 adapters and 10 processes how may minimum number of
shared archives, process archives, and adapter archives you need to place in an
enterprise archive resource?
By holding Client ack to the end of the process, one will block that session. This
means one will slow down the rate at which TIBCO BusinessWorks pulls messages from
the JMS server, which will have to hold messages for a longer period of time.
With TIBCO Enterprise Message Service Explicit Ack, a single session is used to
receive all messages. This mode allows for more efficient resource utilization, and
provides more even load distribution across multiple engines.
The FTP Quote activity sends an arbitrary FTP command to the FTP server. You can
determine which FTP commands are supported by using the Available Commands button
on the FTP Connection shared configuration resource. FTP commands vary by operating
system and by FTP version and configuration, so you should determine which commands
are available on the remote server before using this activity.
67)What is the difference between FTP delete file and Remove file activity?
The FTP Delete File activity issues an FTP delete or mdelete command to remove one
or more files from the remote server.
The Remove File activity removes the specified file. This activity can also remove
empty directories.