TCA-TIBCO-BUSINESSWORKS practice question 12 of 15

You have a TIBCO ActiveMatrix BusinessWorks application running on multiple AppNodes, which are part of the same AppSpace. You want to read or update the module shared variable state. Which option should you select?

Full set: 60 questions

Domain Installation and Configuration

Answer options
A: bw.engine.persistenceModee = "true"
B: bw.engine.persistenceMode = "datastore"
C: bw.engine.persistenceMode = "AppSpace"
D: bw.engine.persistenceMode = "group" Correct answer
Correct Answer:
D. bw.engine.persistenceMode = "group"
Explanation

To enable the sharing of a module shared variable's state across multiple AppNodes within the same AppSpace, the engine persistence mode must be configured to group. This mode leverages a data grid, such as TIBCO ActiveSpaces®, to maintain a consistent, distributed cache of the variable. When one AppNode updates the variable, the change is propagated through the data grid, making the new state immediately available to all other AppNodes in the AppSpace. This is the designated mechanism for inter-AppNode state sharing in TIBCO BusinessWorks.

Why Incorrect

A. bw.engine.persistenceModee = "true" is incorrect due to a typo in the property name (persistenceModee) and an invalid value ("true").
B. bw.engine.persistenceMode = "datastore" is used for engine fault tolerance, enabling process instance checkpointing and recovery using a database, not for sharing variable state across AppNodes.
C. bw.engine.persistenceMode = "AppSpace" is incorrect because "AppSpace" is not a valid value for the bw.engine.persistenceMode property.

References

1. TIBCO ActiveMatrix BusinessWorks™ Documentation, "Concepts", Chapter: "Engine Persistence": This chapter details the different engine persistence modes. It explicitly states, "The group mode is used when the engine needs to share data across multiple AppNodes in an AppSpace. The engine uses a data grid to store the data." This directly supports the use of group mode for sharing data.

2. TIBCO ActiveMatrix BusinessWorks™ Documentation, "Bindings and Palettes Reference", Chapter: "General Activities Palette", Section: "Set Shared Variable": The documentation for shared variable activities clarifies their behavior in a multi-AppNode environment. It explains that for the variable's scope to extend across the AppSpace, the engine persistence mode must be set to group.

3. TIBCO ActiveMatrix BusinessWorks™ Documentation, "Administration", Chapter: "Working with AppNodes", Section: "Engine Persistence Modes": This section provides configuration details and specifies the valid values for bw.engine.persistenceMode as memory, datastore, or group. It confirms that group is the required setting for sharing state across a group of AppNodes.

Scroll to Top