Tibco BW Interview Questions

  • Share this blog:

Are you planning to attend an interview for the Tibco BW role but are confused about how to crack that interview also what would be the most probable Tibco BW Interview Questions that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked Tibco BW Interview Questions which are often asked in multiple interviews in 2023.

In this article, we will cover the following:

Most frequently asked Tibco Interview Questions

Tibco BW Interview Questions

Q1) What is the critical section in TIBCO Business works and what is it used for? 

Ans: A critical section is used to sync process instances so that only one process instance executes the grouped activities at any given time. Any concurrently running process instances that contain a corresponding critical section group wait until the process instance that is currently executing the critical section group completes. Particularly used for controlling access to shared variables. A critical section is one of the group actions. Others are iterating, repeat until true, repeat on error until true, while true, pick first and transaction. If we select the critical section as the group, then we get two options. Single group and multiple groups.

Single Group

If you wish to synchronize process instances for a single process definition in a single process engine (only one ear(instance) is deployed), perform the following:

  • Create a group around the activities you wish to synchronize.
  • Specify the Critical Section for the Group Action field.
  • Specify Single Group for the Scope field.
  • Only one process instance at any given time will execute the activities contained in the Critical Section group.

Multiple Groups

If you wish to synchronize process instances for multiple process definitions, or if you wish to synchronize process instances across multiple process engines, perform the following:

  • Create a Lock shared configuration resource and specify a name for the resource.
  • To perform the synchronization across multiple process engines, check the Multi-Engine field of the Lock resource. When the process instances are executed by the same process engine, locking is performed in memory. When the process instances are executed across multiple engines, the process engines must be configured to use a database for storage, and a database transaction is performed to ensure that only one process instance is executing the critical section group at any given time.
  • Create a group around the activities you wish to synchronize.
  • Specify Critical Section for the Group Action Field.
  • Specify Multiple Groups for the Scope field.
  • Use the Browse button in the Lock Object field to locate the Lock shared configuration resource you created in Step 1.
  • Perform steps 3 to 6 for any process definitions you wish to synchronize. Make sure you specify the same Lock shared configuration object for all Critical Section groups.

Q2) If there are three activities in the critical section, jdbc update then a write file and then again jdbc update. If the second jdbc update fails, then what will happen to the file written by write file activity?

Ans: The contents of the file will persist.

Q3) What are the different types of transaction groups supported in TIBCO BW? 

Ans: Iterate, repeat until true, repeat on error until true, critical section, transaction, pick first, while true.

Q4) Can two queue receivers listen to the same queue? If yes, if the message arrives on the queue, when the receiver receives it?  

Ans: The queue has made a connection first. First come first serve.

Do you want to master Tibco? Then enroll in "Tibco BW Training" This course will help you to master Tibco Business Works Software.

Q5) If the message has hit the queue, and there are no receivers for it, and the receiver comes alive after 6 hours, what happens to the message?

Ans: The message stays in the queue.

Q6) If there are five messages and the prefetch property is set to 4 then what happens? 

Ans: Fetches 4 messages

Q7) What all palettes you have worked in TIBCO BW? 

Ans: File palette, general activities palette, jdbc palette, http palette, jms palette, parse palette, service palette, soap palette, wsdl palette.

Q8) What are the different types of variables available in TIBCO?

Ans: There are three types of variables available in TIBCO. They are:

Global variables: Global variables are used for assigning constants a value that is used over a project

Process variables: Process variables are again of four types.

They are:

  • Activity output
  • Predefined process variables
  • Error variables
  • User-defined process variables.
  • Predefined process variables include $_GlobalVarialbes and $_ProcessContext
  • shared variables - User-defined process variables could be defined at a process definition level and assigned a value by using an assigned activity.

Q9) What are the different acknowledgement modes for a message? 

Ans: There are 6 modes of acknowledgement. They are:

  • Auto – message is acknowledged automatically
  • Client – use confirm activity for acknowledgement
  • TIBCO EMS Explicit – use confirm activity for acknowledgement, only available for TIBCO EMS
  • TIBCO EMS no ack
  • Dups ok – message is acknowledged automatically on its receipt
  • Transactional – when a transaction is included in a process definition. The message is ack when the transaction commits.

Q10) What is prefetch and failsafe?

Ans: Prefetch is fetching the messages from the server before the receiver calls. Failsafe property enables to write persistence messages to the file with synchronous i/o calls.

Q11) How do you send a response from a web service?

Ans: We write to output to the queue from which we received the request.

Q12) What is the difference between a soap event source and a service palette?

Ans: The soap event source is used for a single operation, single end. The service palette is used for multiple operations, multiple end bindings like http, jms.

Tibco BW6 Interview Questions

Q13) If you want to count the number of times a job is called, how will you go about doing it? 

Ans: Use job shared variable in a critical section.

Q14) If there are a hundred messages lying on the queue, what will you do and which activity will you use to retrieve one message at a time? 

Ans: JMS Queue receiver with confirms activity. A sequencing key in a misc tab of the configuration could also be used.

Q15) What is the sequencing key in the misc tab used for?

Ans: It is used to call process instances in the order they are created.

Q16) What happens if I put a static value say ‘nitin’ in the sequencing key?

Ans: All the processes which have this key in their sequencing key field will be executed in the order they were created.

Q17) What is SQL direct? What is it used for? 

Ans: SQL direct is used to execute command dynamically using the output of other activities. This activity allows you to execute commands which other activities in the JDBC don’t allow, like the DDL command create a table.

Q18) Can you change a value of a global variable at runtime?

Ans: You can change the value of a global variable when you deploy your project in TIBCO Administrator training. See the section on modifying runtime variables in TIBCO BusinessWorks Administration for more information on using TIBCO Administrator.

You can also specify values for global variables when starting a process engine on the command line. To do this, specify the following as a command-line argument when starting the process engine:-tibco.clientVar.<variablePathAndName> <value>

where variablePathAndName is the name of the variable you wish to set, including the path to the variable if it is contained in a folder. Value is the value you wish to set the variable to.

For example, if you have a global variable named item1 contained in a folder named group and you wish to set its value to 500, add the following argument to the command line when starting the process engine: -tibco.clientVar.myGroup/item1 500

Q19) What are the modes of TIBCO BW Installations?

Ans: The modes of Tibco BW Installations are:

  • GUI mode
  • Console mode
  • Silent mode
Related article: Tibco Spotfire Tutorials

Q20) If you have installed a particular version of TIBCO software e.g. TIBCO BW X.Y.Z, What are X, Y and Z number stands for?

Ans: Integration can be at different application layers:

  • X: Patch
  • Y: Major
  • Z: Minor

Q21) What is the role of TRA?

Ans: TRA stands for TIBCO Runtime Agent.

The TRA has two main functions:

  • Supplies an agent that is running in the background on each machine.
  • The agent is responsible for starting and stopping processes that run on a machine according to the deployment information.
  • The agent monitors the machine. That information is then visible via TIBCO Administrator.
  • Supplies the run-time environment, that is, all shared libraries including third-party libraries.

Q22) What are the resources that get included in the EAR file, created by the TIBCO Designer?

Ans: An EAR file can contain local project resources, Library Builder resources, and files as specified in Alias Library resources. In addition, the TIBCO Designer classpath may include references to other files that are included in the EAR file.

Q23) What are the different modes of service invocation?

Ans: 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 messages—a 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.

Q24) What are the TIBCO BW activities that can participate in transactions?

Ans: 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

Tibco Interview Questions

Q25) What are the different types of Transactions TIBCO provides?

Ans: 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:

Q26) What activities are supported in JTA Transaction?

Ans: The Java Transaction API (JTA) UserTransaction type allows:

  • JDBC
  • JMS
  • ActiveEnterprise Adapter (using JMS transports)
  • EJB activities

to participate in transactions.

Q27) What are the options for configuring storage for the process engine's checkpoint repository?

Ans: The options for configuring storage for the process engine's checkpoint repository are:

  • Local File
  • Database. Fault-tolerant engines can recover from a checkpoint only when the database is used.

Q28) Process engines in a fault-tolerant group can be configured as peers or master secondary. How do these differ?

Ans: The options for configuring storage for the process engine's checkpoint repository are:

  • Peer means all of them to 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 the master recovers, secondary stops and the master continues processing.

Q29) What are the three scenarios where BW engine must be configured with database persistence instead of Local File?

Ans: The three scenarios are: 

  • Shared Variables across BW engines.
  • Locking across groups in multiple BW engines.
  • Wait to Notify across BW engines.

Q30) If you want a group to be executed if there is some unhandled error but subject to some max number of iterations which group do you use?

Ans: We can use Repeat on Error until true

Q31) When is a 'Generate Error' activity useful?

Ans: When you handle an error inside a called sub-process or group and want to re-throw the error to the caller (happens by default if you don't handle the error in the called process)

Q32) What is vcrepo.dat?

Ans: 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). 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 active
  • Enterprise Adapter activities that use JMS transports
  • EJB activitiesTIBCO iProcess B
  • business works Connector activities

Q33) What are Tibco Transactions?

Ans: Tibco transactions are software that helps companies manage their business processes. They allow businesses to keep track of their inventory, sales, and other important data. Tibco transactions also help companies automate their business processes. This can save the company time and money.

Q34) What are the differences between render XML and parsed XML?

Ans: Render XML is a format that represents an XML document as a sequence of bytes. The document's information is encoded in the sequence of bytes, and the structure of the XML document is not preserved. This makes Render XML less human-readable than parsed XML.

Parsed XML, on the other hand, is a format that represents an XML document as a tree structure of nodes and edges. The document's information is encoded in the tree structure, and the structure of the XML document is preserved. This makes parsed XML more human-readable than render XML.

Q35) Explain the temporary, dynamic, and static queue in Tibco.

Ans: A temporary queue is a type of transient messaging queue that exists only for the duration of a message exchange. A dynamic queue is a persistent messaging queue that can store an unlimited number of messages. A static queue is a persistent messaging queue that has a maximum storage capacity. Temporary queues, dynamic queues, and static queues are all implemented using Tibco's Rendezvous technology.

You liked the article?

Like : 11

Vote for difficulty

Current difficulty (Avg): Medium

Recommended Courses


About Author
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.