We are trying to explain each and every activity in depth, so stay tuned to this site. This Site is Under Construction!!!

Thursday, June 28, 2012

Tibco-Interview-Questions-page4

56. Which mechanism can be used to pass data between a process instance and a called sub process other than mapping from/to the caller's input/output ?


Answer: This can be accomplished using job shared variables, unless in the call process activity the 'Spawn' flag is enabled in which case the called sub process is a new job and hence gets a fresh copy of the job shared variable initialized as per its configuration. A shared variable can overcome this limitation as it's scope is not limited to one job.

57. What are the three scenarios where BW engine has to be configured with database persistence instead of Local File ?


Answer: The three scenarios are:
  • Shared Variables across BW engines.
  • Locking across groups in multiple BW engines.
  • Wait Notify across BW engines.

58. 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 ?


Answer: We can use Repeat on Error until true

59. When is a 'Generate Error' activity useful?


Answer: When you handle an error inside a called subprocess or group and want to rethrow the error to the caller(happens by default if you dont handle the error in the called process)

60. Which activity is used for detecting duplicate message processing?


Answer: CheckPoint activity - Specify the uniqueID for the duplicate key field and engine maintains list of these key fields. When a process come to checkpoint activity with the same value for duplicate key which already exists, it throws a DuplicateException. An error transition can then handle this case.

61. Give an example where graceful migration of service from one machine to another is not possible.


Answer: HTTP Receiver. In this case the receiver on new machine starts listening on the same port, but you need to redirect requests from the old machine to the new one.

62. What are the types of adapter services ?


Answer: Types of adapter services are :
  • Subscriber Service
  • Publisher Service
  • Request-Response Service
  • Request-Response Invocation Service

63. If the business process needs to invoke another web service which resource do you use ?


Answer: SOAP request reply activity. If the business process needs to be exposed as SOAP service use SOAP Event Source in conjunction with SOAP Send Reply or SOAP Send Fault.

64. What is the functionality of the Retrieve Resources resource?


Answer: It can be used to serve the wsdl file of a SOAP Event Source to a (http) client.
Construct a process like: HTTP Receiver -> Retrieve Resources -> Send HTTP Response

Now the WSDL file for a SOAP service can be retreived using the http request

http://<host>:<port>/<path>/<resourceName>?wsdl

where 'path' is the folder path to the SOAP Event Source process and 'resourceName' is the name of the process

Example : http://purch:8877/Purchasing/GetPurchaseOrder?wsdl

65. What is the scope of user defined process variables ?


Answer: The scope of user defined process variables is only the process in which it is defined.(Not even inside a sub process that is invoked from this process)
« Previous |1 2 3 4 5| Next »

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More