Vous êtes sur la page 1sur 5

Some New TIBCO BW Interview Questions

1) What all palettes you have worked in TIBCO BW 5.0? Answer - File palette, generall activities palette, jdbc palette, http palette, jms palette, parse palette, service palette, soap palette, wsdl palette. 2) What is the riti al se tion in TIBCO Business works and what is it used !or? 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. thers are iterate, repeat until true, repeat on error until true, while true, pic! first and transaction. "f we select critical section as the group then we get two options. #ingle group and multiple groups. #ingle $roup "f you wish to synchroni%e 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 synchroni%e. *. #pecify Critical #ection for the $roup Action field. +. #pecify #ingle $roup for the #cope field. nly one process instance at any given time will execute the activities contained in the Critical #ection group. ,ultiple $roups "f you wish to synchroni%e process instances for multiple process definitions, or if you wish to synchroni%e process instances across multiple process engines, perform the following( ). Create a -oc! shared configuration resource and specify a name for the resource. *. .o perform the synchroni%ation across multiple process engines, chec! the ,ulti-/ngine field of the -oc! resource. 0hen the process instances are executed by the same process engine, loc!ing is performed in memory. 0hen 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 synchroni%e. 1. #pecify Critical #ection for the $roup Action Field. 2. #pecify ,ultiple $roups for the #cope field. 3. 4se the 5rowse button in the -oc! bject field to locate the -oc! shared configuration resource you created in #tep ). 6. Perform steps + to 3 for any process definitions you wish to synchroni%e. ,a!e sure you specify the same -oc! shared configuration object for all Critical #ection groups. ") I! there are three a tivities in the riti al se tion# $d% update then a write !ile and then a&ain $d% update. I! the se ond $d% update !ails then what will happen to the !ile written %y write !ile a tivity? Answer - .he contents of the file will persist. ') What are di!!erent types o! transa tion &roups supported in TIBCO BW? Answer - "terate, repeat until true, repeat on error until true, critical section, transaction, pic! first, while true. 5) Can two (ueue re eivers listen to the sa)e (ueue? I! yes# i! the )essa&e arrives on the (ueue# when re eiver re eives it? Answer - .he 7ueue which has made connection first. First come first serve. *) I! the )essa&e has hit the (ueue# and there are no re eivers !or it# and the re eiver o)es alive a!ter * hours# what happens to the )essa&e? Answer - ,essage stays on the 7ueue. +) I! there are !ive )essa&es and pre!et h property is set to ' then what happens? Answer - Fetches 1 messages ,) What are the di!!erent types o! varia%les availa%le in TIBCO? .here are three types of variables available in ."5C . .hey are ). $lobal variables $lobal variables are used for assigning constants a value which is used over a project *. Process variables Process variables are again of four types. .hey are )' Activity output *' Predefined process variables +'/rror variables 1' 4ser defined process variables. Predefined process variables include 89$lobal:arialbes and 89ProcessContext

+. shared variables 4ser defined process variables could be defined at a process definition level and assigned a value by using an assign activity. -) What is the di!!eren e %etween pro ess varia%le and shared varia%le? Answer 10) What is the di!!eren e %etween $o% shared varia%le and shared varia%le? Answer 11) .ow do u use &et shared varia%le and set shared varia%le? Answer 12) The !irst ti)e you use a &et shared varia%le does it throw an error? Answer 1") .ow have you done error handlin&? Answer 1') What are the di!!erent a knowled&)ent )odes !or a )essa&e? Answer - .here are 3 modes of ac!nowledgement. .hey are )' Auto ; message is ac!nowledged automatically *' Client ; use confirm activity for ac!nowledgement +' ."5C /,# /xplicit ; use confirm activity for ac!nowledgement, only available for ."5C /,# 1' ."5C /,# no ac! 2'<ups o! ; message is ac!nowledged automatically on its receipt 3' .ransactional ; when a transaction is included in a process definition. .he message is ac! when the transaction commits. 15) What is pre!et h and !ailsa!e? 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. 1*) .ow do you send a response !ro) a we% servi e? Answer - 0e write to output to the 7ueue from which we received the re7uest. 1+) What is the di!!eren e %etween soap event sour e and servi e palette?

Answer - #oap event source is used for single operation, single end point. #ervice palette is used for multiple operations, multiple end point bindings li!e http, jms. 1,) I! you want to ount the nu)%er o! ti)es a parti ular $o% is alled# how will you &o a%out doin& it? Answer - 4se job shared variable in a critical section. 1-) I! there are hundred )essa&es lyin& on the (ueue# what will you do and whi h a tivity will you use to retrieve one )essa&e at a ti)e? Answer - >,# ?ueue receiver with confirm activity. #e7uencing !ey in a misc tab of the configuration could also be used. 20) What is the se(uen in& key in the )is ta% used !or? Answer - "t is used to call process instances in the order they are created. 21) What happens i! I put a stati value say /nitin0 in the se(uen in& key? Answer - All the processes which have this !ey in their se7uencing !ey field will be executed in the order they were created. 22) What do you )ean %y )a1 $o% and !low li)it? Answer 2") What are dura%le su%s ri%ers? Answer 2') What is 234 dire t? What is it used !or? Answer - #?- direct is used to execute command dynamically using output of other activities. .his activity allows you to execute commands which other activities in the ><5C don@t allow, li!e <<- command create table. 25) Can you han&e a value o! a &lo%al varia%le at runti)e? Answer - Aou can change the value of a global variable when you deploy your project in ."5C Administrator. #ee the section on modifying runtime variables in ."5C 5usiness0or!s Administration for more information on using ."5C Administrator. Aou can also specify values for global variables when starting a process engine on the command line. .o do this, specify the following as a command line argument when starting the process engine( -tibco.client:ar.BvariablePathAndCameD BvalueD where variablePathAndCame is the name of the variable you wish to set, including the path to the variable if it is contained in a folder. :alue is the

value you wish to set the variable to. For example, if you have a global variable named item) contained in a folder named my$roup and you wish to set its value to 2EE, add the following argument to the command line when starting the process engine(

Vous aimerez peut-être aussi