1. While debugging TIBCO BW processes, which activity can be used to write complete schema information to a file?
Answer: TIBCO provides Inspector activity which can be used for debugging purposes while developing applications in TIBCO designer. Inspector activity can be used to write all output information of designer activities to a local file including process variables and other details.
2. What is the use of “Override Transaction behavior” option in JDBC Activities?
Answer: Overrides the default behavior of a transaction group. If this activity is in a transaction group, the activity is normally committed or rolled back with the other transactional activities.
If this checkbox is checked, this activity is not part of the transaction group and is committed when it completes. Checking this option uses a separate database connection to perform the activity and commit the SQL statement.
3. Can you change the 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 Business Works 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 variable Path And Name 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 my Group and you wish to set its value to 500, add the following argument to the command line when starting the process engine:
-tibco. client Var. my Group/item1 500.
4. 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.
5. What is the role of TRA?
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.
6. What are the different types of Transactions TIBCO provides?
Answer: TIBCO Business Works 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 Business Works supports the following types of transactions:
Java Transaction API (JTA) UserTransaction
7. What is the caption of TIBCO?
Answer: The information Bus Company. Since it transfers the messages in the form of a bus from one end to the other.
8. What is TIBCO Certified Messaging?
Answer: TIBCO certified messaging is an approach to guarantee delivery of every message from sender to its intended recipient. TIBCO certified messaging works on the principle of registration and acknowledgment.
9. What is the role of domain utility?
Domain utility: is used to create, delete, and modify Tibco domains.
To add machines to the specific domain.
To add an EMS server plug-in to the Tibco domains.
To modify server settings and Http ports.
10. What are the resources that get 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 classpath may include references to other files that are included in the EAR file.
11. What are the differences between global variables, process variables, shared, and job shared variables?
Answer: Shared variables are accessible and changeable through different process definitions.
In the case of Job Shared, it is accessible within execution jobs. It maintains a copy for each job execution.
The process variables are accessible for a specific process when defined.
The global variables are accessible throughout the project. These variables are editable as well in Tibco at runtime.
12. What are the differences between topics and queues?
Answer: Both topics and queues are applied in the transportation and storage of messages in EMS.
While the use of queues is for point-to-point communication, the use of topics is found in publish-subscribe.
Queues assure message delivery even when the receivers or readers are not active.
In the case of topics, messages are not sent when consumers are not active.
Queues, when compared to topics, are more reliable and secure.
13. What are the uses of the checkpoint and confirm activity?
Answer: Confirm activity is deployed to provide client acknowledgments.
Checkpoint averts failures in BW Engine and makes sure to avoid duplications while saving the process state.
14. What is the difference between shared variable, job shared variable, process variables and global variables?
Shared variables can be accessible by multiple process definitions, and can
Changeable by any process definition.
Job Shared variables can be accessible within the execution jobs, and it will maintain a copy of the variable for every job (execution).
Process Variables can only be accessed for a particular process where it gets defined.
A global variable can be accessible across the project. A global variable can be edit
at runtime too in Tibco administrator.
15. What is the use of transaction?
Answer: Transaction is used to perform All or nothing. If everything is successful then all will be commited to else will be rollback.
It supports two types of Transactions
The JDBC Transaction type provides transaction support only for the JDBC activities, and it does not provide transaction support for JMS or Checkpoint resources. The JDBC Transaction group allows you to perform multiple database operations within the group as a single unit of work. All database operations performed within the transaction group are either committed or rolled back. (Company)
The XA Transaction type allows you to perform JDBC and JMS operations within the group as a single unit of work. All JDBC and JMS operations performed within the transaction group are either committed or rolled back.
16. What is the use of bridges in ems?
Answer: Using bridge concept in EMS we can send messages between applications to applications without changing the application code. We can simply use the same application logic with defined topics and queues. Here we simply bridge the desired topics to queues or queue to queue or topic to topic vice versa.
If u wants to send message between different messaging destinations within the EMS serve then go for bridge and its unidirectional.
17. Where we define error schema to generate error activity?
Answer: Will have to define in END activity error schema tab so that it will get deflect on generate error tab.
18. What is vcrepo.dat and when this file is created in TIBCO?
Answer: Vcrepo. dat file is used to store certain properties like TIBCO RV encoding, display name; description, etc. crepe. dat file gets created automatically when a TIBCO BW project is saved for the first time. This file can be used for identification purposes
19. What Is The Difference Between Concrete Wsdl And Abstract Wsdl?
Answer: The Abstract WSDL describes the interface of the web service which includes the format of request and response messages of each operation.
The Concrete WSDL describes the abstract WSDL plus transport information. Concrete WSDL contains messages, operations and transport specific information (JMS or Http), which is used by SOAP client.
20. What Is The Difference Between Ems And Rv?
A producer sends a message to the central server. The server stores the message until it has delivered it to each consumer
Producer to the server; server to consumers.
Store and forward queue protocol.
The central server stores all messages and delivery state for all its clients; it requires disk resources in proportion to total throughput volume.
Disk failure on a server host computer can be catastrophic, affecting all messages from every client. Many installations protect against disk failure using safeguards such as disk mirroring.
The central server is the master of the overall delivery state.
A producer sends a message to consumers. The producer stores the message until each consumer has acknowledged receipt
Each producer stores its outbound messages and some delivery state; it requires disk resources in proportion to its outbound volume.
Disk failure on a peer host computer affects only the messages that its programs produce or consume. However, disk mirroring for each individual peer is often impractical.
21. What are TIBCO Ledger files and why they are important?
Answer: TIBCO Ledger files are used to store messages in case of RV certified messaging. Ledger files are important as they ensure delivery of each and every message to the intended recipient in a certified RV communication model in TIBCO.
22. What is TIBCO Spotfire?
Answer: Spotfire’s Enterprise Player, when combined with Core Lab’s RAPID database, allows our clients to perform analytics on the data sets being generated in our Joint Industry Projects. Each active Joint Industry Project has a Spotfire Analytical Template associated with it which allows our clients to investigate the various data sets through tabular and graphical displays.
Each display can be filtered by a wide variety of data types stored in our RAPID database such as formation, country, geologic basin, porosity, permeability, geochemistry parameters, etc. Spotfire is extremely easy to use and provides a powerful resource in reservoir evaluation.
Go through this insightful blog to learn more about TIBCO Spotfire.
23. What is the difference between SQL direct and other JDBC activities?
Answer: Other JDBC activities can only do a specific DML operation (insert, update, modify), whereas sql direct can execute all the DML operations including table creation and deletion too.SQL direct is mainly used for dynamic DB operations.
24. What is the difference between Getting JMS queue and Wait for JMS queue message activity?
Answer: The Get JMS Queue Message activity retrieves a message from the specified queue. This activity allows you to perform a receive operation on the queue as opposed to waiting for a queue message to be delivered to the Wait for JMS Queue Message activity or the JMS Queue Receiver process starter.
The Wait for JMS Queue Message activity uses event key which is the ‘JMS Correlation ID’ to filter the right response with the right job. The ‘key’ is the ‘JMS Message ID’ sent by the Queue Sender activity.
25. What is file-based storage and database storage in TIBCO EMS and where we will configure it?
Answer: In file-based store, all messages will be saved on disk. Whereas in database storage all messages will write on DB. If we check in stores.conf we can find file storage and database storage. By default, any message will be stored in the file.
Note: In EMS 6.0 there is no concept of server or database storage. By default, all the messages get stored on the disc itself.
26. What is the difference between SOAP Event Source and Service Activity?
Answer: Using the SOAP Event Source, you can run only one operation at a time. While using the Service Palette you can run multiple operations simultaneously
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. Upon retrieval of the WSDL, the client can perform a SOAP request to invoke the web service.
27. 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: Information is stored in a local file which in case of engine crash/failure and the same information is used to resume the process flow once the engine is up. This mechanism works only in case of a single server or load balancing approach.
Database: Information is stored in a database table which is used to resume the engine later. Fault-tolerant engines can recover from a checkpoint only when the database is used.
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
28. What are the properties that we can set to a queue or topic?
Answer: Secure, fail-safe, global, prefetch, max msgs, max bytes, export, import, flow control, sender_name, trace, expiration, overflow policy, store, and channel.
29. What is the difference between RV (rendezvous) and JMS?
RV and JMS both are Tibco messaging transports.
a) Architecture wise RV follows BUS architecture and JMS follows client-server architecture.
b) Protocol wise RV using UDP and JMS using TCP.
c) RV follows subject-based messaging whereas JMS using queues and topics.
d) RV is less secure and reliable in message transportation when we compare with EMS as EMS stores the messages on disk.
e) RV sending data in asynchronously, EMS sends synchronously.
f) RV majorly used in Telecom sectors whereas EMS used in Banking and Financial sectors.
g) RV is a proprietary product of Tibco software inc whereas EMS is wrapper over JMS 1.1version
30. What is the difference between queues and topics?
Queues and Topics both are used in message store and transportation in EMS.
Queues are used in point to point communication mode whereas Topics are used in Publish-Subscribe communications.
Queues can assure the message deliver even if the reader/receiver is not active.
Topics case messages cannot be sent if the consumer is not active. but we can assurance by making them as durable
31. What is the purpose of “Retrieve Resource” activity?
Answer: The Retrieve Resources activity generates a WSDL file containing a concrete service (Concrete WSDL) description of any process definition that has a SOAP Event Source process starter. This allows clients to access the WSDL for a web service. The client can then use the WSDL file to invoke the web service. The Retrieve Resources activity can also be used to retrieve any other resources, including XSDs and WSIL.
32. What is the difference between publish by value, publish by reference modes in ADB adapter?
Answer: Publish by value: in this type, the changes in the source table are reflected in the p_ table and the data is taken from there. its used when high speed is required. it does not support data types like oracle long.
Publish by reference: in this type, the data is directly taken from the source table where only the primary key will come from p_ table. it allows data types like oracle long.
loss of changes in the source table can be lost bcos of the waiting time. (this can be avoided using alerter).
33. 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 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 the master fails. But when master recovers, secondary stops, and master continues processing.
34. What is the use of spawn option is the called process?
Answer: If the spawn is checked, then that process will be executed externally with main process. And we are not supported to make this spawn when we are using job shared variables.
35. How can unauthorized users be prevented from triggering a process?
Answer: Unauthorized users be prevented from triggering a process by giving ‘write’ access for the process engine to only selected users. Only users with ‘write’ access can do activities like deploying applications, starting/stopping process engines, etc.
36. What are the conditions in the transitions?
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.
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 the processing of the activity.
37. What is meant by service and daemon in Rendezvous?
Answer: TIBCO RV Service is the UDP Port number on which Rendezvous messages are sent. Daemon is the port number on which communication takes place between RVD and application.
38. What is the use of Spotfire Analytics?
Answer: TIBCO Spotfire Analytics provides an incredibly fast and flexible environment for analyzing critical data to help you and your organization make better and smarter decisions. With powerful in-memory analysis, predictive modeling and a highly visual and intuitive interface, Spotfire gives business and technical professionals the ability to rapidly explore their data, helping them find key insights to give them a unique competitive edge.
Spotfire Analytics is a single platform that spans the spectrum from rapid ad-hoc analysis to building custom analytic applications, from analyzing spreadsheet and database data to real-time and event-driven data, and from desktop-based data exploration to widely distributed web-based interactive dashboards. Incorporating powerful statistics, Spotfire is the most powerful analytic platform in the world, giving individuals and organizations an immediate information advantage over their competitors.
39. How can you make only one consumer receives a message from the queue?
Answer: By making the queue exclusive. If the queue is exclusive, then all queued messages can only be retrieved by the first consumer specified for the queue. Exclusive queues are useful when you want only one application to receive messages for a specific queue. If the queue is not exclusive, any number of receivers can retrieve messages from the queue.
40. 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 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.
41. What is persistent, nonresistant queue in EMS?
Answer: Persistent in EMS (Enterprise Messaging Service) is to store the messages on disk or database so that we can get the data from dist or database at later point of time when the consumer is available.
Non-Persistent: Nonpersistent in EMS that the messages did not store at dist or database. They will remain in the EMS server and expire after reaching the expiration limit.
42. What Abstract WSDL and concrete WSDL?
Answer: Abstract WSDL contains the message, port and port type information which can be used by the web service provider. Concrete WSDL contains abstract WSDL and transport details, and which is used by a web service client.
43. What is the use of Override Transaction behavior option in JDBC Activities?
Answer: Overrides the default behavior of a transaction group. If this activity is in a transaction group, the activity is normally committed or rolled back with the other transactional activities. If this checkbox is checked, this activity is not part of the transaction group and is committed when it completes. Checking this option uses a separate database connection to perform the activity and commit the SQL statement
44. What are breakpoints?
Answer: Breakpoints are used to check the inputs and outputs of each activity during testing the design so that we can debug our design. We can place the checkpoints for all activities on input and output side.
45. What Is The Command Line Utility Used To Get Configuration xml Of Command-Line Applications?
Answer: App Manage is the command line used to get the configuration xml of command-line applications.
46. What is the difference between Request-Response and Request-Response Invocation service?
Request-response acts on a server while Request-Response invocation service acts on the client.
47. What is the difference between SOAP Over JMS/HTTP?
Answer: The advantage of using “SOAP over JMS” over “SOAP over HTTP” is reliability as you may use the persistence and acknowledgment features built in the standard. The same applies if you need to establish asynchronous communication or need to use the load balancing features provided by JMS servers. You can achieve this using HTTP but the implementation would be much more complicated.
48. Where we will go for ADB adapter and JDBC Activities?
Answer: We can go for ADB adapter where the data flow is synchronous and data integration is required between multiple databases. Whereas JDBC Activities can be used for asynchronous operations and where data integration is not required.
49. What is the difference between GUI Mode, Console Mode and Silent mode of installation?
GUI mode: In this mode, we can install in graphical mode, and well-instructed steps guide us to install.
No need to change any folder permissions in this mode.
Console mode: In this mode, we can install through from command line. We have to run the command to install any Tibco product with the help of below command.
In this mode, we have to modify the permissions for the root folders of every product of Tibco.
Silent mode: This mode is similar like Console mode, but here we are saving the installation in a store file. We have to run the below command in Silent mode.
Here also we have to change the ownership as root for the Tibco root paths.
50. What is TIBCO?
It is a middleware tool. It is a completely pictorial view of programming.
1. It has no server.
2. It is simply an in and out process.
3. Runs on any platform i.e. Platform independent.
4. Supports all the languages.
5. It supports SOA (Service Oriented Architecture) i.e. it is a loosely coupled and a distributed architecture. Hence each system is not completely and tightly dependent on another system.
51. 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 memory. 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 an 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 until it is received, like email servers, JMS, RV, etc. 0 specifies no limit and is the default.
Activation limit flag specifies that once a process instance is loaded it must be placed in memory till it completes execution. By default, it is enabled.