Tibco BW Interview Questions & Answers

  1. Question 1. What Is The Critical Section In Tibco Business Works And What Is It Used For?

    Answer :

    Critical section is used to sync process instances so that only once 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. 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 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:

    1. Create a group around the activities you wish to synchronize.
    2. Specify Critical Section for the Group Action field.
    3. Specify Single Group for the Scope field.
    4. 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.
  2. Question 2. 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?

    Answer :

    The contents of the file will persist.

  3. Web Services Interview Questions

  4. Question 3. What Are Different Types Of Transaction Groups Supported In Tibco Bw?

    Answer :

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


  5. Question 4. 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?

    Answer :

    Message stays on the queue.

  6. Web Services Tutorial

  7. Question 5. If There Are Five Messages And Prefetch Property Is Set To 4 Then What Happens?

    Answer :

    Fetches 4 messages

  8. Pega Systems Interview Questions

  9. Question 6. What All Palettes You Have Worked In Tibco Bw?

    Answer :

    File palette, generall activities palette, jdbc palette, http palette, jms palette, parse palette, service palette, soap palette, wsdl palette.

  10. Question 7. What Are The Different Types Of Variables Available In Tibco?

    Answer :

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

    Global variables: Global variables are used for assigning constants a value which 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 assign activity.
  11. Restful web service Tutorial
    TIBCO Interview Questions

  12. Question 8. What Are The Different Acknowledgment Modes For A Message?

    Answer :

    There are 6 modes of acknowledgement. They are:

    1. Auto: message is acknowledged automatically
    2. Client: use confirm activity for acknowledgement
    3. TIBCO EMS Explicit: use confirm activity for acknowledgement, only available for TIBCO EMS
    4. TIBCO EMS no ack
    5. Dups ok: message is acknowledged automatically on its receipt
    6. Transactional: when a transaction is included in a process definition. The message is ack when the transaction commits.
  13. Question 9. What Is Prefetch And Failsafe?

    Answer :

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

  14. Restful web service Interview Questions

  15. Question 10. How Do You Send A Response From A Web Service?

    Answer :

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

  16. Service Oriented Architecture (SOA) Tutorial

  17. Question 11. What Is The Difference Between Soap Event Source And Service Palette?

    Answer :

    Soap event source is used for single operation, single end. Service palette is used for multiple operations, multiple end bindings like http, jms.

  18. Spotfire (TIBCO) Interview Questions

  19. Question 12. If You Want To Count The Number Of Times A Job Is Called, How Will You Go About Doing It?

    Answer :

    Use job shared variable in a critical section.

  20. Web Services Interview Questions

  21. Question 13. If There Are Hundred Messages Lying On The Queue, What Will You Do And Which Activity Will You Use To Retrieve One Message At A Time?

    Answer :

    JMS Queue receiver with confirm activity. Sequencing key in a misc tab of the configuration could also be used.

  22. Question 14. What Is The Sequencing Key In The Misc Tab Used For?

    Answer :

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

  23. Question 15. What Happens If I Put A Static Value Say ‘nitin’ In The Sequencing Key?

    Answer :

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

  24. Service Oriented Architecture (SOA) Interview Questions

  25. Question 16. What Is Sql Direct? What Is It Used For?

    Answer :

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

  26. Question 17. Can You Change A Value Of A Global Variable At Runtime?

    Answer :

    You can change the value of a global variable when you deploy your project in TIBCO Administrator.

    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:


    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 myGroup 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

  27. Tibco Ems Interview Questions

  28. Question 18. What Are The Modes Of Tibco Bw Installations?

    Answer :

    1. GUI mode
    2. Console mode
    3. Silent mode
  29. Pega Systems Interview Questions

  30. Question 19. 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?

    Answer :

    Integration can be at different application layers:

    1. X:Patch
    2. Y:Major
    3. Z:Minor
  31. Question 20. What Is The Role Of Tra?

    Answer :

    TRA stands for TIBCO Runtime Agent.

    The TRA has two main functions:

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

  33. Question 21. What Are The Resources That Gets Included In The Ear File, Created By The Tibco Designer?

    Answer :

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

  34. Question 22. What Are The Different Modes Of Service Invocation?

    Answer :

    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.

    1. Publication (notification) means an operation sends information on an as-needed basis, potentially multiple times.
    2. Subscription means incoming information is processed on an as-needed basis, potentially multiple times.
  35. Question 23. What Are The Tibco Bw Activities That Can Participate In Transactions?

    Answer :

    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
  36. Middleware Interview Questions

  37. Question 24. What Are The Different Types Of Transactions Tibco Provides?

    Answer :

    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
  38. TIBCO Interview Questions

  39. Question 25. What Activities Are Supported In Jta Transaction?

    Answer :

    The Java Transaction API (JTA) UserTransaction type allows:

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

    to participate in transactions.

  40. Question 26. What Are The Options For Configuring Storage For Process Engine’s Checkpoint Repository?

    Answer :

    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.
  41. Tibco Iprocess Administration Interview Questions

  42. Question 27. Process Engines In A Fault Tolerant Group Can Be Configured As Peers Or Master Secondary.how Do These Differ?

    Answer :

    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.
  43. Restful web service Interview Questions

  44. Question 28. What Are The Three Scenarios Where Bw Engine Must Be Configured With Database Persistence Instead Of Local File?

    Answer :

    The three scenarios are:

    1. Shared Variables across BW engines.
    2. Locking across groups in multiple BW engines.
    3. Wait Notify across BW engines.
  45. Question 29. If You Want A Group To Be Executed If There Is Some Un Handled Error But Subject To Some Max Number Of Iterations Which Group Do You Use?

    Answer :

    We can use Repeat on Error until true.

  46. Question 30. When Is A ‘generate Error’ Activity Useful?

    Answer :

    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)