You are on page 1of 84

Q: what are max jobs, activation limits and flow limits?

Max jobs: Max Jobs is the maximum number of jobs that Max jobs specify the number of process instances that are kept in memory while executing !ctivation "imit: #pecifies that once a process instance is loaded and it must be placed in memory till it completes execution $low "imit: maximum number of jobs that can be spawned before the process starter is suspended Q: %hat happens to the messages after the maximum log file si&e is reached? 'here is no limit, but you can configure it "arge files reduce the performance of (% application, so smaller log files would be good )ou can configure in tibco administrator, deployments, server settings etc Q: how can we use global variables in tibco administration *+%hen you want to have the same ear file for 'est and production, you may have some variables to be changed between these environments eg: database url, ports, subjects, etc ,+ )ou use -lobal .ariables when you have some values that may change in the future /f there is a change of value then only you have to do is to change global variable value i e no code changes re0uired eg: timer values, some project specific codes, etc 1+ #uppose the company implements a rule saying that the developers should not use the database user which has full privileges on the tables !nd developer should user a database user which has read only access to the production tables, then we can have the password for the privileged user to be of type password !nd the implementation team will change the value of the database password before deployment and they are the only team to know that database password 'his way we can ensure that the developer is not messing up with production data Q: 2nder "inux 3 24/5 operating system, you need to edit the 3etc3resolv conf file and add the line: nameserver 6/789$8':;8<4#8*= nameserver 6/789$8':;/#78<4#8#;>.;>8,= or netsh interface ip set address name?@"ocal !rea Aonnection@ source?static addr?555 mask?555 gateway?555 gwmetric?* netsh interface ip set dns name?@"ocal !rea Aonnection@ source?static addr?555 register?primary Q: <eployment scripts http:33www scribd com3doc3*BCD,EF,3'/(A98(%8Dx8<eployment87rocess

What is a TIBCO Domain? A: Domain is a collection of hardware and software components that are used for business

process integration. The domain defines the TIBCO Business Wor s en!ironment. "ach domain must contain one and onl# one administration ser!er. "ach domain must ha!e a uni$ue domain name. "ach domain ma# contain one or more machines but no single machine can belong to multiple domains. "ach machine ma# ha!e more than one t#pe of software component. What is a deplo#ment? A deplo#ment is a completed configured instance of an integration or pro%ect. TIBCO Designer is used to configure pro%ects and deplo#ments in current !ersion. In the future& TIBCO Administrator will be used to manage deplo#ment of pro%ects. What is the main responsibilities of the Admin ser!er? It manages data storage for the Admin It manages transport options for applications It enforces securit# for the domian What is TIBCO 'AW( agent? It is the independent process that monitors applications and s#stems utilit#. What are the )cripting utilities? There are two t#pes of scripting utilities. The# are *. Buildear +.Appmanage What are the components of the TIBCO Admin? What is its use? Admin ser!er: It manages resource in Admi domian Admin ,-I: It pro!ides web browser interface. It allows to configure users and applications& deplo#s applications& monitor process and machines in admin domain. Can we run multiple administrators in the same domain? .o. Onl# one administration ser!er is installed and configured for use per domain. What is the default port where admin runs? /ort: 0101 'ost: 2ocalhost What is -DDI module? -ni!ersal& description& disco!er# and integration. It creates connections between uddi ser!ers and web ser!ices contained in the ser!er. If #ou grant permissions then #ou can publish web ser!ices information through uddi ser!ers. What is 3esouce management? It creates application domian. It can customi4e machine displa#. It displa#s information about machines and process on machine. What is application domain? This application stores the data separetel# or independentl# in a repositor# from the admin domian repositor#. What is an Application Archie!e? It pro!ides information about the enterprise archie!e file including pac age name& !ersion& description and creation date. Can we change the adapter from one domain to another?

5es& but #ou will need to uninstall the e6isting adapter that has %oined the current domain and then reinstall the adapter and %oin it to the new domain. 5ou will also be able to change the domain info directl# using Domain -tilit# . 'ow to !iew tracing results for a process engine? ,ot to Application 7anagement clic on All ser!ice instances& clic on the process engine name tracing tab& go to details What is deplo#ment choice? When configuring adminstration domian & #ou can set how the admin ser!er creates and stores application data. *. 2ocal application data +. )er!er based application data What are the !ersions of TIBCO Admin? There are two t#pes of two !ersions. *8 3epositor# "dition +8 "nterprise "dition. Can we change the domain for one machine to another later? 5es& #ou can add9remo!e machine from domain using Damain -tilit#. What are the restrictions of using TIBCO Admin ,-I !ia secondar# ser!er? We cannot perform user management& deplo# applications or perform an# other acti!it# for which read write access is re$uired. What do #ou ha!e in the -ser management module? -sers 3oles )ecurit# What is TIBCO Administrator ? TIBCO Administrator supports securit# administration as well as monitoring and management of processes and machines. TIBCO Administrator consists of the TIBCO Administration )er!er and the web browser based TIBCO Administrator ,-I. What are TIBCO Administrator 7odules ? -ser 7anagement 3esource 7anagement Application 7anagement App7anage and Build ear commands Buildear -TI2IT5 TO B-I2D "A3 buildear :s :ear 9firstprogram.archi!e :o C:;ear;firstprogram.ear :p C:;firstprogram Batch Appmanage -TI2IT5 TO "</O3T A//7A.A," BATC' <72 App7anage :batch"6port :domain local :user admin :pw admin :dir c:;Batch; -TI2IT5 TO D"/2O5 =O.25 A>T"3 "</O3TI., A//7A.A," BATC' <728 App7anage :batchDeplo# :domain india :user admin :pw admin :dir c:;Batch; :nostart

-TI2IT5 TO -.D"/2O5 =O.25 A>T"3 "</O3TI., A//7A.A," BATC' <728 App7anage :batch-nDeplo# :domain india :user admin :pw admin :dir c:;Batch; -TI2IT5 TO delete =O.25 A>T"3 "</O3TI., A//7A.A," BATC' <728 App7anage :batchDelete :domain india :user admin :pw admin :dir c:;Batch; :force -TI2IT5 TO ill =O.25 A>T"3 "</O3TI., A//7A.A," BATC' <728 App7anage :batch ill :domain india :user admin :pw admin :dir c:;Batch; App7anage -TI2IT5 TO "</O3T )I.,2" CO.>I,-3ATIO. >I2" >3O7 "A3 2OCATIO. App7anage :e6port :ear c:;/CC?BC25?C'-B?".32).ear :out c:;/CC?BC25?C'-B?".32).6ml -TI2IT5 TO D"/2O5 )I.,2" CO.>I,-3ATIO. >I2" A.D "A3 >3O7 2OCATIO. App7anage :deplo# :ear c:;/CC?BC25?C'-B?".32).ear :deplo#config c:;/CC?BC25?C'-B?".32).6ml :app /CC :domain local :user admin :pw admin -TI2IT5 TO D"2"T" A//2ICATIO. A>T"3 -.D"/2O5I., /CC :domain local :user admin :pw admin App7anage :delete :app

-TI2IT5 TO -.D"/2O5 A//2ICATIO. App7anage :undeplo# :app pcc :domain test :user admin :pw admin In how man# wa#s #ou can Deplo# "A3 >ile? * 2ogin to TIBCO administrator and upload ear file and Deplo#. +. -se Appmanage utilit# to deplo# "A3 file into targetted domains b# passing necessar# arguments. /lease refer other articles which has the details. In how man# wa#s #ou can build ear files? *. Create ear file from Designer. +. Create ear file using build ear=e6e9bin8 b# passing necessar# arguments. What is the ad!antage of scripted deplo#ment in Tibco?What is difference between scripted deplo#ment and normal deplo#ment Below are the scenerio I can e6pect: *. When e!er the TIBCO Administrator is down we ha!e to deplo#e a application from T3A :@ Appmanage. +. In case we ha!e to deplo#e !arious applications using same global parameters& we ha!e to pro!ide e!er# time these parameters in TIBCO administrator wile deplo#ement. )o its better to get a best proctice to deplo#e application from bac end using the scripts. below are the ad!antages: *. If Admin is down we are able to deplo#e application +. We use a properties file =<728 which is ha!ing all the !ariables which can be used b# !arious similler applications. )o low wor load. Where do the default global !ariables declared in designer are stored in Tibco Administrator In ./A3 folder. We can see this folder in TIBCO adminstrator in Application management::@ application::@"A3

Q: :ow to deploy adapters in unix box and set <#4 name what is the cmd? Q: :ow to install tibco (% in unix and how to deploy in unix box pl& let me know commands? Q: %hat is the maximum log file si&e? Q: %here do you configure it? Q: :ow many different ways did you deploy your ;!> files? Q: how do u release the content to production? * %hat are the two storage methods used by 'ibco ;M# server? !ns : $ile based and database , %hat files are created in file based data storage method? !ns sync db,async db,meta db 1 %hat information does Meta db contain? !ns durable subscribers, fault tolerant connections and other meta data B %hat does flow control property specifies ? ans specifies the maximum si&e of the pending messages in server D %hat are the destinations of messages? !ns : topics and 0ueues F in how many ways destinations for messages can be created? !ns static : administrator creates destinations and client programs uses the destinations <ynamic: here client program creates destinations during runtime 'emporary: servers connected through routes communicate through temporary destinations G what are the messaging models supported by ems serve? !ns point to point H 0ueues+, pubsub Htopics+, multicast Htopic+ I %hat is the diff between exclusive 0ueues and non exclusives ? !ns in exclusive J only one receiver can take message where as in non exclusive many receivers can receive msg E how long the message will be stored for durable subscribers? !ns as long as durable subscriber exists or until msg expiration time reached or storage limit has been reached *C what are the different delivery modes supported by ems? !ns persistent, non persistent and reliable ** what is the dis advantage of reliable mode delivery? !ns in reliable , with out knowing the status of the consumer the publisher keeps sending msg to server *, what is the condition for persistent message to be stored on disk in topics? !ns there must be atleast one durable subscriber or one must be connected to fault tolerant connection to ems server *1 how do you distinguish dynamic 0ueues and static 0ueues ? !ns dynamic 0ueues have K before the 0ueue name *B what happens if npsendLcheckmode parameter in tibemsd conf file is enabled? !ns #erver sends acknowledgement for non persistent message *D what is shared state in fault tolerant operation ? !ns primary server and backup server have connection to shared state which contain information about client connection and persistant messages *F how many ways a back up server detects failure of primary server? !ns :earbeat failure:87rimary server sends a heartbeat message to backup server

to indicate primary server is working connection failure :8backup server detects the failure of tcp connection with primary server *G what is the use of locking in fault tolerant operation? !ns /norder to prevent the backup server to take the role of primary server, the primary server logs the shared state in normal operation and during the failure of primary server backup server takes the lock and access primary server *I /f authori&ation is enabled in tibemsd config file what is the condition to configure ems server as fault tolerance? !ns #erver name and password for both primary and backup server should be same and username and password for both servers should match the server and password parameters in tibemsd config file *E what are the changes to be made in config file for ems fault tolerant operation? !ns in primary server give url of backup server to ftLactive parameter and in backup server give url of primary server for ftLactive parameter ,C different types of &ones? !ns Multihop &one and *hop &one ,* what is fail safe? !ns /n fail safe mode messages are frist stored in disk before sending messages so that no messages are lost ,, what is the default port number for ems server? !ns G,,, ,1 difference between rende&vous and ems? !ns >vd is bus based architecture , ems is centrali&ed architecture ,B what are different acknowledge modes? !ns <upsLokLacknowlwdge,autoLacknowlwdge,clientLacknowledge,noLacknowledge ,D :ow many ways we can determine the life span of the message in a 0ueue %hat are they? !ns: expiration parameter in 0ueue configuration file JM# expiration time in 0ueue sender 'he JM# expiration time in 0ueue sender overrides any value given in config ,F %hat are the message storing mechanisms of 0ueues? !ns: persistent and non8persistent 7ersistent: messages are stored to external storage before sending 4on8persistent: not stored to any external storage 'he information will not be available for retrieval ,G what is condition to create bridge? !ns Queus and topics must be defined as global ,I why do we need routers ? !ns 'o transfer messages between different ems servers ,E what is the default maximum si&e of message? !ns D*,mb 1C how do you configure client for fault tolerant connection? !ns #pecify multiple server as a comma8separated list of 2>"s and both 2>"s must use same protocol either tcp or ssl Q: what is message se0uencing in 0ueues? %hen the message si&e is large, and when there are more messages with larger si&e, to reduce the load on the server, the sender sends the message in chunks and on receiver side to receive the messages in order, use message se0uencing

Q: what is the difference between load balancing and fault tolerant modes? "oad balancing is done between , or more servers where the load is distributed between servers whereas, fault tolerance is done between , servers where one server acts as a primary and the second server acts as a back up server for the primary server /n case of failure of primary server, the second serverHback up server+ becomes the primary server Q: what is load balancing in 0ueues? 'here will be number of 0ueue receivers and the messages are sent to the 0ueues in round robin fashion thereby reducing the load Q:what is the use of durable topic ? /n durable topic, the message is first persisted on to the disk before it is published <urable topics ensure the delivery of messages like 0ueues where as a regular topic receives the message only when it is active /f not active the message is lost Q: what are the services of ems server? >eliable, guaranteed,'ransactional Q: how do u do performance tuning? 7erformance tuning can be done at ;M# server level3!dministrator level /n ;M# it can be done by using prefetch mechanism, there by regulating the consumption of messages 'he prefetch mechanism is avialable in both 0ueues and topics /n !dministrator, performance tuning is done by adjusting the count of the threads also by setting the flow limit, activation limit, max limit Q: why load balancing is not helpful with topics? (ecause as one message is sent to all the subscribers that subscribe to the topic, there will be duplication of messages and there will be more disadvatages when used in topics Q: what are the different acknowledgement modes and difference between them? auto, client, dupsLok, explicit client ack, no acknowledgment, explicitLclientLdupsLok ack,transitional, local transitional -o through the articles in the site / believe there is explaination for these Q: :ave you worked on ;M#? %hat are pros and cons of using ;M# server over >ende&vo ems follows server centric architecture rv follows bus architecturein secured and relible delivery of data in ems no reliability rv compare that of ems there is , ack in ems but in ems not there Q: :ow do you get messages from other applications to tibco if they are using different message format? H;5: source Mainframes, #!7 + Q: how do u intially configure ;M# server to domain?

Q: %hat are the Message 'ypes? Q: %hat are the !cknowledgement modes? Q: %hat is $ault 'olerance M how will you implement $' in ;M#?

Q: %hat is bridge? Q: %hat are the conf files in ;M#?


Q: %hat do you know about ;M#? $' and "( modes? Q: %hatNs difference between ;xclusive M 4on exclusive 0ueues Q: :ow do you guarantee the message delivery using JM# Queues Q: %hat are destination (ridges M whatNs use of it Q: :ow do you set target maximum message si&e for JM# destinations Q: %hatNs Message selector M how do you specify them Q: %hatNs durable subscription and whatNs use of it

%hat are the different types of acknowledgement modes in ;M# message delivery O O O O O O O O !uto Alient <upsLok 4oLack ;xplciit ;xplicitLclientLdupsLok 'ransitional "ocal transitional

%hat are the different types of messages that can be used in ;M# O 'ext O #imple O (ytes O Map O 5M" test O 9bject O 9bject ref O #tream 1 'ell me about bridges use of message selector %hy do we use them, #yntax to create bridges,

#ome applications re0uire the same message to be sent to more than one destination possibly of different types #o we use bridges B %hat is the purpose for stores conf

a 'his file defines the locations either store files or a database, where the ;M# server will store messages or metadata b ;ach store configured is either a file8based or a database store

:ow many modes are the messages written to store file , modes sync or async %hen absent , the default is async %hat is tibemsd conf

/t is the main configuration file that controls the characteristics of the ;M# server G :ow many delivery modes for messages? 7ersistent, 4on8persistent, >eliable8delivery I %hat is the maximum messagesi&e? ;ms supports max message si&e of D*, mb E 4ame 1 destination properties and explain them

-lobal, secure, maxmsgs, maxbytes, flowcontrol, senderLname, senderLnameLenforced, trace,max>edelivery *C a b c %hat are the different modes of installation in ;ms? -2/ mode Aonsole mode #ilent mode

** %hat are the messaging models supported by JM# a 7oint8to8point b 7ublish8subscribe c Multicast *, 'ell me about routes

%hat is the purpose of routes, what kind of destinations can be used in routes? 'opics and 0ueues m8hops *1 %hat happens if the message expires3exceeded the value specified by maxredelivery property on 0ueue? /f the jmsLpreserveLundelivered property is set to true, then it moves he message to undelivered message 0ueue, if set to false, the message is deleted by the server *B a b c /n how many ways can a destination be created? #tatic8created by user <ynamic8created by ems server on the fly 'emporary destinations

*D %hat are the wild cards that we use in ems?how do they work for 0ueues and topics

K,P 2 can subscribe to wildcard topics but cant publish to them %here as in case of 0ueues we canQt either send 3receive *F !re bridges transitive? 49 'ell me about flow control on destinations

*G

#ome times the publisher may send messages faster than the consumers can receive them #o, the message capacity on the server will be exhausted #o we use flow control $low control can be specified on destinations *I 'ell me about flow control on bridges and routes

$low control has to be specified on both sides of bridges where as on routes it operates differently on sender side and receiver side *E 4ame 1 configuration files and tell me what it consists of

a Queues conf b 'opics conf c >outes conf d $actories conf e #tores conf f -roups conf,users conf,transports conf ,C a b c d e ,* 4ame some administrative level destination properties .iew Areate <elete Modify 7urge :ow can you change the configuration properties of ;M# server

)ou can change in the tibemsd conf file or you can change using the ems admin console ,, a b c ,1 a b c d %hat are the permissions that you can grant to users to access 0ueues >eceive #end (rowse %hat are the permissions that you can grant to users to access topics #ubscribe 7ublish <urable 2seLdurable

,B

'ell me about multicasting in ;M#

a Multicast is a messaging model that broadcasts messages to many consumers at once rather than sending messages individually to each consumer ;M# uses 7ragmatic general multicast to broadcast messages published to multicast enabled topics b ;ach multicast enabled topic is associated with a channel ,D %hat are the advantages and disadvantages of multicasting

a !dvantages: as the message broadcasts only once thereby reducing the amount of bandwidth used in publish and subscribe model >educes the network traffic b <isadvantages: 9ffers only last8hop delivery #o canQt be used to send messages between servers ,F a 9n what destinations can you use multicast? 'opics

,G #uppose, you got an error while accessing a 0ueue, that you donQt have necessary permissions to access the 0ueue %hat might be the solution3reason? a ,I a ,E 'he user that is assigned to the 0ueue and the user used while creating :ow does the secondary server know that the primary server is failed? (ased on heartbeat intervals %hat is JM# 0ueue re0uestor?

a 'he JM# Queue >e0uestor activity is used to send a re0uest to a JM# 0ueue name and receive a response back from the JM# client 1C %hat is JM# topic re0uestor?

a 'he JM# 'opic >e0uestor activity is used to communicate with a JM# applicationQs re0uest8response service 'his service invokes an operation with input and output 'he re0uest is sent to a JM# topic and the JM# application returns the response to the re0uest 1* a 1, a :ow do you add ems server to administrator? 2sing domain utility :ow do you remove individual messages from destinations? 2sing purge command

:ow #hared .ariable works with the option 7;>#/#'!4A;?

'he current value of the shared variable is stored in memory for fast access by process instances :owever, if a process engine crashes, the current state of the shared variable may be lost 'o preserve the current state of a #hared .ariable resource, you can check this field to store the current value of the shared variable in the process engineQs storage location 'he current state of the shared variable is only updated in the process engineQs persistent storage when the value of the variable changes

/ncoming data is coming in 5M" format we need to update it to 1 destinations scenario: 2pdate should happen to in one destination and it should get reflected to other , :ow can we configure this 2se ;M# (ridging, / am considering destinations are 0ueues or topics #cenario: 0ueue is receiving message from nearly ,C different sources Message structure is changed in one sender 4ow i have to design process /f receiver fail to receive message then i have to send that message to some another 0ueue use utility repair message and resend to original 0ueue can you explain how we can degin this process? /n your current process if message has failed to process, call a process that can publish to some 0ueue, and have a process pickup and modify it, and put it back to the original 0ueue what is !A"? !A" is used for view the permissions which are set for 0ueue or topic / am using a @JM#Queue>eceiver@ and / kept the !cknowledge Mode as @'/(A9 ;M# ;xplicit Alient !cknowledge@ !ccording to my re0uirement i need to do some processing after receiving the message from the 0ueue and if the process is success i am going to send a @confirm@ message 9therwise in case of error 8 * 4o !ck is sent to JM# 0ueue so that it resends the message again , (ut / donNt want it to happen forever / want JM# to resend the message upto a maximum number of time, say *CC, after that it shouldnNt resend the message Aan we configure the 0ueue or @JM#Queue>eceiver@ in such a way? 7l& help me 4ote: / know if i send !AR after the maximum time it willnNt send the message again (ut my re0uirement doesnNt allow me to do so and offcourse i need to keep counter for each message as a best practice, try for three or definite number of times and put it back to error 0ueue, and have a receiver to append it back to the original 0ueues as you dont want to be infinite loop :ow can / set @'imeout@ value in @'A7 9pen Aonnection@ activity?

/ dont see any option in setting time out, but you can add properties in tra file related to this activity can we deploy a process in a $' mode? and "( mode? which has a critical section in the group activity and :ow ? / think you can do it, technically even if load balancing mode or some where you never share the jobs, each process will do on its own, in case of $' it will not take over the process that was processing by other job, it pick up another job from begining, try doing it %hat are the different acknowledgement modes available in '/(A9 ;M#? *+!uto ,+Alient 1+'/(A9 ;M# ;xplicit Alient !cknowledge B+ <ups 9R D+'ransactional 8P /n !uto acknowledgement and <ups89R acknowledgement modes, the message is acknowledged automatically when it is received 'he only difference between !uto acknowledgement and <ups89R is that the later mode is for la&y acknowledgement purpose 8P /n Alient and '/(A9 ;M# ;xplicit Alient !cknowledge modes, the message will be acknowledged at a later point by using the Aonfirm activity ! process definition must confirm the message when using this acknowledge mode 'he difference is that in Alient acknowledge mode, if the message is not confirmed before the process instance ends, the message is redelivered and a new process instance is created to handle the new incoming message, where as, in '/(A9 ;M# ;xplicit Alient !cknowledge mode, 'he session is not blocked and one session handles all incoming messages for each process instance /f a message is not confirmed before the process instance ends, all messages received in the same session are redelivered 8P 'ransactional mode is used when a transaction that can process JM# messages is included in the process definition 'he message is acknowledged when the transaction commits ;rror :andling $ramework #upported !ctions? 'he following are the ;rror :andling $ramework #upported !ctions: #end a '4- !lert 3 #4M7 traps 3 #M# !lerts #end a JM# 3 >. message #9!7 calls #end email notifications "og to db Hor+ file ;xecute a custom script 3 applications /nitiate an /A Hor+ (%%$ %orkflow >eturn the (% process <ynamic process calls %indows 4' event logging

:ow do / create my own Austom 7alette? * $irst, from Menu @$ile@8P@4ew Austom 7alette@ ! dialog box will be presented for you to ;nter 7alette 4ame and #elect 2ser <irectory, 7ress !pply )ou will see the Austom palette tab shows up in the resource panel , 4ext, configure your components such as session, timer, publisher, or subscriber as you would normally in an adapter configuration instance #kip this step, if you have a resource already configured that you want to save in the Austom 7alette "ast, drag and drop it back under the new custom palette in the resource panel 1 'he pre8configured publisher, subscriber can now be re8used in new configuration instance by dragging it from this custom palette

#ecured 0ueue M secured topic #ecured 0ueue means controlled messages sending and receiving activity $oe example if / want to create 0ueue which will send to message to fix destination or receive message form fix 0ueue ; g is test* 0ueue 2sing administration tool you can create secured 0ueus for example #tart ems administration tools login with administrative rights #et server authori&ation? enabled Areate 0ueue test* secure -rant 0ueue test* rahil send -rant 0ueue test* akash send -rant 0ueue test* kajal receive #o now dilip and akash user can send message and kajal will receive and kajal can not send and dilip and akash can not receive message from 0ueue test* #ame way we can secure topic also %hat is se0uencing in 0ueue receiver? /t is way of receiving3processing message based on priority, gropu or userid #e0uencing is done with the help of x path formula 2se of (ridges and routes? 'hey are used from channeling message from senders to receiver (ridge act as connector between two different 0ueue and >outes act as connector between different server for sending message and receiving acknowledgement of delivery ;xclusive 0ueue 'he 0ueue can be configured exclusive then all 0ueue messages are retrieved by the first consumer specified for the 0ueue /t is useful when we want only one application to receive messages from specific 0ueue 4on exclusive 0ueues are useful in case of load balancing the load of incoming messages from different receiver
Tibco Business connect

http://architektdomain.com/architekt/index.php?topic=167.0;prev_next=next#new A brie introd!ction abo!t b!"ine"" connect : #ibco $!"ine"" connect i" the too% b& which doc!ment" can be "hared "ec!re%& over a "ec!red protoco%. $!"ine"" connect i" the '() too% and which i" inter*rated in #ibco Admin"tration window. $rie introd!ction to $!"ine"" +onnect '() : 1.Business Agreements: #he %i"t o the b!"ine"" a*reement".,-o"t and the #radin* partner. b& "e%ectin* an a*reement 1.*enera% :"ettin*" /.protoco% $indin* : "e%ectin* or addin* a protoco%: "e%ectin* the protoco% di erent tab" can be viewed: operation bindin*0doc "ec!rit&0 tran"port"0"ched!%ed tran"mi""ion. 1.operation bindin*: "e%ectin* the ho"t and partner and %ook or the tab" in"ide. ,to be contin!ed.... /.Log viewer: 1.A!dit %o*" /.1on rep!diation %o*" 2.me""a*e 3!e!e %o*" 4 5e"end %o*". 1.A!dit %o*":thi" he%p" to view the %o**in* o the report accordin* the protoco%0time0date etc 2.Operation editor: "e%ect protoco% bein* !"ed and pre"" the edit b!tton. 1.1oti ication /. o!t bo!nd action 1.1oti ication: 'enera%0*!ide%ine0"chema /.6!t bo!nd action: *enera% 0batchin* 0 ack. 4.participants: #he %i"t o the participant": "e%ctin* the participant 7i ernt tab" can be viewed or the operation" in the the participan& "ettin*". 1.'enera%0$!"ine"" 8oc0+redentia%"0protoco%"0prox& "ettin*". 9&"tem 9ettin*" and +on i*!ration o b!"ine"" +onnect +ontin!e"....... smart routing ? :e""a*e" that are ro!ted in $!"ine""+onnect a%% into the"e cate*orie": ; :e""a*e" received rom tradin* partner" #he"e me""a*e" are common%& re erred a" inbo!nd me""a*e" rom tradin* partner". #he"e me""a*e" are proce""ed !"in* <!b%ic 9mart 5o!tin*. ; :e""a*e" received rom and ro!ted to the private proce""e" #he"e me""a*e" are proce""ed !"in* <rivate <roce"" 9mart 5o!tin*. <rivate <roce"" 9mart 5o!tin* make" it po""ib%e or !"er" to ro!te pre erred me""a*e" to "e%ected private proce"" in"tance" whi%e other me""a*e" can be received and proce""ed b& the re"t o the in"tance" in the "ame or in the di erent $!"ine""=ork" pro>ect". <!b%ic 9mart 5o!tin* !"e" a combination o con i*!rab%e condition" and prede ined "et o criteria to di"patch the work%oad" to the be"t ittin* c%!"ter or proce""in* o me""a*e" received rom tradin* partner". #he <!b%ic 9mart 5o!tin* component in $!"ine""+onnect doe" not "!pport 9mart 5o!tin* or me""a*e" received rom the private proce""e" ,o!tbo!nd me""a*e".. How to make BC to ignore few files in a FTP folder? =e have a partner who i" *oin* to "end "ome non ?7) i%e" which we do not want to be proce""ed b& $+ direct%&. 5i*ht now what" *oin* in $+ i" pickin* !p the"e non ?7) i%e" and tr&in* to proce""e" them and de%etin* them. )" there an& wa& to con i*!re $+ to pick!p on%& certain kind o i%e" and i*nore re"t o the i%e" in the o%der? we can create a di erent @#< o%der or non ?7) i%e" o coar"e0 b!t ) am wonderin* there "ho!%d be "omethin* on $+ end to re"o%ve thi". i" there an& thin* to do thi"? Ao! can !"e the i%e ma"k ,%ike BC.datB or B<Identifier>C.ediB. "o that $+ pick" !p on%& i%e" matchin* that ormat.

Private Process mart !outing in BC "#$ wit% &' transport The following procedure was tested with TIBCO BusinessConnect 5.2.1 & E I!"12# $ut should wor% with an& protocol in BC 5.'. If &ou ha(e created )ultiple E I "12 transactions in BusinessConnect and need to deplo& each transaction into a seperate deplo&)ent# nor)al *+, $eha(ior will not allow &ou to ha(e )ultiple consu)ers on the -ueue. In this case ,)art .outing will $e useful to resol(e this issue. /ere is what &ou need to do... 1. 0ollow the BC docu)entation and create s)art routing I s in BusinessConnect ,&ste) ,ettings !>

1ri(ate 1rocess ,)art .outing 2. Create &our 1ri(ate 1rocess in Business 2or%s with BC 1alette .ecei(e .e3uest 4otification. 5. In this configuration ta$ of this acti(it& )a%e sure that# &ou unchec% the parse "+6 pa&load chec% $o' and select 787 fro) the Operation 4a)e drop down. 9. :ll &our pri(ate processes with BC listeners should ha(e the operation na)e as 787 5. 4ow &ou can create a deplo&)ent for each of &our transactions and it should wor%. One draw$ac% of this is that &ou will not $e a$le to parse the pa&load in the starter acti(it&. How to use protocol in Business connect? ?ver& thin* !nder $+ "erver con i*!ration on%&0 check the participant" 0 b!t &o! need to have "peci ic protoco%" in"ta%%ed on &o!r machine.. in"ta%% "oap0ebxm% protoca%" and con i*ar the $+ "erver "!cce"" !%%& Business Connect Administration(w%at is )stem setting doing Business Connect Administration(w%at is !eporting doing? what i" 5eportin* doin* . <%D %et me know reportin* t&pe" are 1.)nbo!nd tran"action per protoco% /.6!tbo!nd #ran"action per protoco%. what i" the main !"e ? #hi" i" >!"t veri ication p!rpo"e" and the"e report" provided the comp%ete detai%" o inbo!nd and o!tbo!nd tran"action". Business Connect Administration(w%at is Participants doing? Business Connect Administration(w%at is Operations &ditor doing Business Connect Administration(w%at is Logviewer doing what i" 8o* viewer doin* . <%D %et me know the "!b t&pe" 1.A!dit 8o*" /.1on 5ep!diation 2. :e""a*e E!e!e 8o*" 4. 5e"end 8o*" Business Connect Administration(w%at is Business Agrement doing ? $!"ine"" a*reement i" nothin* b!t detai%" abo!t how exchan*e in ormation between &o! and &o!r partner". pl* e+plain , %ow to use BC admin? -ow to con i*!re $+ admin F how to !"e 0exp%ain me brie %& $!"ine"" A*reement" 8o* Giewer 6peration" ?ditor <articipant" 5eportin* 9&"tem 9ettin*" How to configar t%e BC erver? )n the H$!"ine""+onnect 9erver Acce""H tab0 !pdate the databa"e detai%" to connect to the $+ 5epo"itor& and the do a !pdate rom repo"itor&. #hi" "ho!%d etch the in ormation rom the databa"e. #hen &o! can "e%ect the de"ired protoco% and operation" and do an import o "e%ected operation". How to get BC -nbound Files? )" there an& wa& to *et the ori*ina% i%e" that are "ent b& tradin* partner"? =hat ) wo!%d %ike to do i" to "tore the ori*ina% i%e that ha" been received b& $+ with the ori*ina% i%e name Are &o! !"in* ?7)IJ1/ protoco%? ) &e"... Ao! can %o* the raw ?7) "e*ment" to a i%e b& !"in* the %o**in* option" in the participant con i*!ration0 b!t it ma& not be po""ib%e to pre"erve the ori*ina% i%e name. #here i" no "!ch option an&where in either the participant or operation" editor con i*!ration. Ao! can tr& another option... in $=0 &o! can con i*!re a private proce"" to receive the advi"or& me""a*e" rom $+ !"in* H5eceive :i"c :e""a*eH activit& with me""a*e name

H)nbo!nd)nterchan*e8o**ed#o@i%eH. #hi" ha" a ie%d or 9o!rce@i%e which ma& *ive &o! the ori*ina% i%e name. &.-/01$ -nbound using HTTP2HTTP +an an&one o!t%ine the proced!re or receivin* ?7)IJ1/ i%e" in $+ on -##</-##<9 port "peci ied in $!"ine"" +onnect +on i*!ration? +on i*!rin* and r!nnin* inbo!nd i%e po%%er to receive edi i%e" rom tradin* partner work" ine. =e want to receive edi i%e" r om tradin* partner on -##</-##<9 port. &o! can tr& thi" o%%owin* "tep" to con i*!re http/http" : 1.9e%ect the tran"port or the tradin* partner on the b!"ine"" a*reement %eve%: a.)n #)$+6 Admini"trator0 "e%ect $!"ine""+onnectK$!"ine"" A*reementK$!"ine"" A*reementK<rotoco%K#ran"port" #ab. /..9e%ect $!"ine""+onnectK<articipant" and then c%ick on the partnerL" name. b.)n the window ?dit <articipant0 "e%ect the <rotoco%" tab. c.+%ick the protoco% %ink. #he ?dit ?nab%ed <rotoco% dia%o* appear". 2..)n the 'enera% tab add A9/ )denti ier )n the #ran"port" tab0 &o! can add the tran"port or thi" participant. a.+%ick Add. #he 1ew #ran"port dia%o* appear". b.1ame the tran"port. c.9e%ect the tran"port t&pe rom the dropdown %i"t: -##< or -##<9. d.+%ick 6M. or -ttp" protoco% &o! need to add certi icate" to cert "tore0 we can on%& !"e veri"i*n certi icate" a" ar a" i know How to start wit% T-BCO BusinessConnect# ) wi%% be a""i*ned in a pro>ect where #)$+6 $+ wi%% be !"ed. ) on%& have an !nder"tandin* o $/$ concept" and ) am a newbie to #)$+6 $.+. +an an&one p%ea"e *!ide me how to "tart %earnin* #)$+6 $.+? =hat are the "o tware" to be in"ta%%ed? -ow to do a "imp%e <6+ or *ood !nder"tandin*?

A%% &o! need i" $!"ine"" +onnect N./ and p%!" minor ver"ion" o $+ apart rom &o!r b!"ine"" work".. /. )n"ta%% the protoco%" that are needed or &o!r pro>ect. 2. +reate a $+ "erver in admin domain 4. @o%%ow a excerice in examp%e"..

-ow to con i*!re a tradin* partner in $!"ine""+onnect? An"IK+on i*!rin* the <artner <articipant 1.)n the <articipant" window0 c%ick 1ew /.<articipant 1ame: +ompan&/ <articipant #&pe: <artner 2.+%ick 6M 4.+heck the Active checkbox N.+%ick the <rotoco%" tab 6.+%ick ?nab%e 7.9e%ect ?7)IJ1/ and c%ick 6M O.+%ick on ?7)IJ1/ %ink P.+%ick Add 1ew %ink next to the 7e a!%t )nterchan*e E!a%i ier )7 ie%d 10.+%ick Add 1ew b!tton 11.)nterchan*e E!a%i ier: QQ )7: PO76N42/1 1/.+%ick 9ave and 6M 12.)n the 7e a!%t )nterchan*e E!a%i ier )7 dropIdown %i"t0 "e%ect QQIPO76N42/1 14.+%ick 9ave 1N.)n the 'enera% tab0 check R?nab%e ?7) Ga%idationL

16.9ettin* the #ran"port: a.+%ick the #ran"port" tab b.+%ick Add c.#ran"port 1ame: @i%e#ran"port #ran"port #&pe: @)8? d.+%ick 6M e.+%ick 9ave three time" =hat are di erent J1/ tran"action" S overview o t&pe and what the& contain? A: we have di erent t&pe" o x1/ tran"action Me& ?7) tran"action" are: C O27: :edica% c%aim" with "!bt&pe" or <ro e""iona%0 )n"tit!tiona%0 and 7enta% varietie". C O/0: <a&ro%% 7ed!cted and 6ther 'ro!p <remi!m <a&ment or )n"!rance <rod!ct" C O24: $ene it" enro%%ment and maintenance C O2N: ?%ectronic remittance" C /70//71: ?%i*ibi%it& in3!ir& and re"pon"e C /76//77: +%aim "tat!" in3!ir& and re"pon"e C /7O: -ea%th 9ervice" 5eview re3!e"t and rep%& =hat are 91)< %eve%" ? T)pe 1: ?7) "&ntax inte*rit& te"tin* I #e"tin* o the ?7) i%e or va%id "e*ment"0 "e*ment order0 e%ement attrib!te"0 te"tin* or n!meric va%!e" in n!meric data e%ement"0 va%idation o J1/ or 1+<7< "&ntax0 and comp%iance with J1/ and 1+<7< r!%e". #hi" wi%% va%idate the ba"ic "&ntactica% inte*rit& o the ?7) "!bmi""ion. T)pe $: -)<AA "&ntactica% re3!irement te"tin* I #e"tin* or -)<AA )mp%ementation '!ideI"peci ic "&ntax re3!irement"0 "!ch a" %imit" on repeat co!nt"0 !"ed and not !"ed 3!a%i ier"0 code"0 e%ement" and "e*ment". A%"o inc%!ded in thi" t&pe i" te"tin* or -)<AA re3!ired or intraI"e*ment "it!ationa% data e%ement"0 te"tin* or nonImedica% code "et" a" %aid o!t in the )mp%ementation '!ide0 and va%!e" and code" noted in the )mp%ementation '!ide via an J1/ code %i"t or tab%e. T)pe 3: $a%ancin* I #e"tin* the tran"action or ba%anced ie%d tota%"0 inancia% ba%ancin* o c%aim" or remittance advice0 and ba%ancin* o "!mmar& ie%d"0 i appropriate. An examp%e o thi" inc%!de" item" "!ch a" a%% c%aim %ine item amo!nt" e3!a% the tota% c%aim amo!nt. ,9ee pa*e" 1PI//0 -ea%thcare +%aim <a&ment/Advice I O2N )mp%ementation '!ide or ba%ancin* re3!irement" o the O2N tran"action.. T)pe 4: 9it!ation te"tin* I #he te"tin* o "peci ic interI"e*ment "it!ation" de"cribed in the -)<AA )mp%ementation '!ide"0 "!ch that: ) A occ!r" then $ m!"t be pop!%ated. #hi" i" con"idered to inc%!de the va%idation o "it!ationa% ie%d" *iven va%!e" or "it!ation" pre"ent e%"ewhere in the i%e. ?xamp%e: i the c%aim i" or an accident0 the accident date m!"t be pre"ent. T)pe ": ?xterna% code "et te"tin* I #e"tin* or va%id )mp%ementation '!ideI"peci ic code "et va%!e" and other code "et" adopted a" -)<AA "tandard". #hi" %eve% o te"tin* wi%% not on%& va%idate the code "et" b!t a%"o make "!re the !"a*e i" appropriate or an& partic!%ar tran"action and appropriate with the codin* *!ide%ine" that app%& to the "peci ic code "et. Ga%idate" externa% code "et" and tab%e" "!ch a" +<#0 )+7P0 +7#0 17+0 "tat!" code"0 ad>!"tment rea"on code"0 and their appropriate !"e or the tran"action. T)pe 5: <rod!ct t&pe" or %ine o "ervice": #hi" te"tin* t&pe i" re3!ired to en"!re that the "e*ment"/record" o data that di er ba"ed on certain hea%thcare "ervice" are proper%& created and proce""ed into c%aim" data ormat". #he"e "peci ic re3!irement" are de"cribed in the )mp%ementation '!ide" or the di erent prod!ct t&pe" or %ine" o "ervice. @or examp%e0 amb!%ance0 chiropractic0 podiatr&0 home hea%th0 parentera% and entera% n!trition0 d!rab%e medica% e3!ipment0 p"&chiatr&0 and other "pecia%iDed "ervice" have "peci ic re3!irement" in the )mp%ementation '!ide that m!"t be te"ted be ore p!ttin* the tran"action in prod!ction. #hi" t&pe o te"tin* on%& app%ie" to a tradin* partner candidate that cond!ct" tran"action" or the "peci ic %ine o b!"ine"" or prod!ct t&pe. T)pe 6: )mp%ementation '!ideI9peci ic #radin* <artner": #he )mp%ementation '!ide" contain "ome -)<AA re3!irement" that are "peci ic to :edicare0 :edicaid0 and )ndian -ea%th.

+omp%iance or te"tin* with the"e pa&er "peci ic re3!irement" i" not re3!ired rom a%% tradin* partner". ) the tradin* partner candidate intend" to exchan*e tran"action" with one o the"e )mp%ementation '!ide "pecia% pa&er"0 thi" t&pe o te"tin* i" re3!ired. =hen a certi ication "ervice certi ie" a tradin* partner or comp%iance0 the certi ication "ervice m!"t indicate whether the"e pa&er "peci ic re3!irement" were met d!rin* the certi ication proce"". 6ther pa&er" and tradin* partner" ma& have their own "peci ic b!"ine"" re3!irement"; b!t0 !n%e"" the& are %i"ted in the -)<AA )mp%ementation '!ide"0 the& are not -)<AA re3!irement". #he"e nonI-)<AA tradin* partner "peci ic re3!irement" m!"t be te"ted a" part o the b!"ine""ItoIb!"ine"" te"tin*. @or !rther in ormation on b!"ine""ItoIb!"ine"" te"tin* and or !rther in ormation on te"tin* tradin* partner r!%e" that are not contained in the )mp%ementation '!ide"0 p%ea"e "ee the $!"ine""I#oI$!"ine"" #e"tin* =hite <aper deve%oped b& thi" "!bIwork*ro!p. =hat i" :e""a*e ormat between $!"ine"" +onnect p!b%ic F private proce""e"? it i" ediIx1/ ormat =hat i" tran"port protoco% !"ed between $!"ine""+onnect p!b%ic F private proce""e"? A: the tran"port protoca% can be http0 i%e0 tp... =hatB" nonIrep!diation %o*"? A:the"e %o*" wi%% "erver a" proo that the tran"action ha" taken p%ace: $& de ination:1onIrep!diation i" a technica% "o%!tion to a %e*a% i""!e: it prevent" tradin* partner" rom a%"e%& den&in* havin* participated in a comm!nication or den&in* the va%idit& o the comm!nication or it" part". i" tibco b!"ine"" connect !"ed in bankin* "ector.? Aep0 where &o! have tradin* partner" inte*ration0 bankin* "ector" doe" !"e $+. does bot% parties to a transaction use same business protocol? i" it mandator& that "ame b!"ine"" protoco% have to be !"edon both "ide",ho"t0partner.? Ae" imple steps to configure public and private processes

@ir"t in"ta%% $!"ine"" +onnect /. 8o*in to admin domain0 c%ick on b!"ine"" connect0 con i*!re to a databa"e ,make "!re it "ho!%d be above Pi0 otherwi"e &o! wi%% *et 7$ i""!e". 2. 6pen Admindomain.tra !nder admini"trator/domain/TdomainnameK/bin/admin"peci ictra i%e0 chan*e the encodin* va%!e" to (#@IO 4. 5e"tart admin domain N. 8o*in to admini"trator 6. +%ick on to 9&"tem "ettin*"0 dep%o&ment con i*!ration" and choo"e "in*%e "ever0 and b!i%d 7. 'o to app%ication mana*ement0 c%ick on con i*!ration 0 b!"ine"" connect and advanced tab0 check the p!b%ic proce""e" con i*!ration0 c%ick the tran"port, or ex:http. and chan*e the port n!mber i needed0 and enab%e http ,ba"ed on &o!r tran"port t&pe. and dep%o&. O. +heck thr! brow"er , http://ho"tname:port n!mber0 i nothin* di"p%a&" ,empt& pa*e. then it i" workin*0 i not check &o!r "ervice in"tance. P. +on i*!ration operation 10. +on i*!re ho"t and participant" 11. +on i*!re $!"ine"" A*reement" 1/. 7e ine &o!r private proce""e" b& openin* &o!r de"i*ner 12. 7e ine a <roce"" 9tarter to "!b"cribe to tho"e me""a*e".

Business Connect erver tartup &rror## ) in"ta%%ed $+ N./.0 a ter %on* time in m& %aptop0 and ) *ot the o%%owin* i""!e". 5!ntime$oot"rtap:")nit #he (n%imitedI9tren*th U+? U!ri"diction <o%ic& @i%e" have not been in"ta%%ed. <%ea"e re er to the ("er :an!a% or in"tr!ction" on in"ta%%in* the re3!ired i%e" or &o! ma& con i*!re $!"ine""+onnect not to re3!ire the"e i%e". 1ote that in thi" ca"e0 "tron* encr&ption a%*orithm" wi%% not be avai%ab%e. com.tibco.ax. w.r!ntime.imp%.'tw&5!ntime?xception: #he (n%imitedI9tren*th U+? U!ri"diction <o%ic& @i%e" have not been in"ta%%ed. <%ea"e re er to the ("er :an!a% or in"tr!ction" on in"ta%%in* the re3!ired i%e" or &o! ma& con i*!re $!"ine""+onnect not to re3!ire the"e i%e". 1ote that in

thi" ca"e0 "tron* encr&ption a%*orithm" wi%% not be avai%ab%e. at com.tibco.ax. w.r!ntime.imp%.5!ntime$oot"trap. or,5!ntime$oot"trap.>ava:747. at com.tibco.ax. w.r!ntime.imp%.5!ntime$oot"trap.")nit,5!ntime$oot"trap.>ava:26O. at com.tibco.p%!*in.*atewa&.'atewa&$oot"trap.init,'atewa&$oot"trap.>ava:2O. at com.tibco.p%!*in.*atewa&.'atewa&$oot"trap.TinitK,'atewa&$oot"trap.>ava:2/. at "!n.re %ect.1ative+on"tr!ctorAcce""or)mp%.new)n"tance0,1ative :ethod. at "!n.re %ect.1ative+on"tr!ctorAcce""or)mp%.new)n"tance,1ative+on"tr!ctorAcce""or)mp%.>ava:2P. at "!n.re %ect.7e%e*atin*+on"tr!ctorAcce""or)mp%.new)n"tance,7e%e*atin*+on"tr!ctorAcce""or)mp% .>ava:/7. at >ava.%an*.re %ect.+on"tr!ctor.new)n"tance,+on"tr!ctor.>ava:4P4. at com.tibco.p%!*in.>ava.Uava'%oba%9erviceA*ent. or,Uava'%oba%9erviceA*ent.>ava:P4. at com.tibco.p%!*in.>ava.Uava'%oba%9erviceA*ent.init,Uava'%oba%9erviceA*ent.>ava:/7/. at com.tibco.pe.core.A*entUob+reator.init,A*entUob+reator.>ava:O6. at com.tibco.pe.core.Uob<oo%+on i*!rator.i ,Uob<oo%+on i*!rator.>ava:426. at com.tibco.pe.core.Uob<oo%+on i*!rator.a,Uob<oo%+on i*!rator.>ava:1P0. at com.tibco.pe.core.@#Activator.it"#ime,Uob<oo%+on i*!rator.>ava:P1P. at com.tibco.pe.!ti%.5eminderE!e!e.r!n,5eminderE!e!e.>ava://4. T%e solution would be for t%is is## 1. 7own %oad the o%%owin* Dip i%e /. (nDip it 2. 5ep%ace the %oca%_po%ic&.>ar and (9_export_po%ic&.>ar i%e" in +:VtibcoV>reV1.N.0V%ibV"ec!rit& %ocation. 4. 5e"tart the -awk A*ent and Admin "erver. N. 8o*in to domain and 9tart $+ 9erver

+an an&one write in detai% abo!t con i*!rin* and !"a*e o <rivate and <!b%ic ke&"?

1. =hat i" tran"port protoco% !"ed between $!"ine""+onnect p!b%ic F private proce""e" ? A:$etween $!"ine""+onnect <!b%ic<roce"" ,)nterior +omponent. and <rivate<roce""0 the tran"port can be either U:9 or 5G. $etween 7:Q and )nterior0 the comm!nication i" via 5G. /. =hat i" :e""a*e @ormat !"ed between $!"ine""+onnect p!b%ic F private proce""e" A:$etween the b!"ine"" connect private and the p!b%ic proce""ed the tran"port protoca% wi%% be the U:9 or 5G and the me""a*e ormat between the p!b%ic proce"" and the private proce"" i" the J:8 ormat. .ifference b2w BC 3#5 , "#$ versions? #he ba"ic di erence" between $+ 2.6 and $+ N./ ver"ion" are: 1. $!"ine"" +onnect,$+. 2.6 ha" two "eparate Admin '!iB" i.e.0 $+ 2.6 ha" a "eparate $+ Admin '!i apart rom the #ibco Admin '!i. =herea"0 $+ N./ ha" a "in*%e Admin '!i i.e.0 the $+ Admin '!i i" inte*rated with #ibco Admin '!i. /. $+ 2.6 "!pport" 5endeDvo!" tran"port on%& wherea"0 $+ N./ "!pport both 5endeDvo!" and U:9 tran"port". CC $+ 2.6 i" i%e ba"ed repo"itor&0 where a" N.x i" databa"e ba"ed. CC $+ 2.6 i" p!b%ic proce""e" were imp%emented !"in* )nte*ration :ana*er0 where in N.x the& are imp%emented !"in* $!"ine"" =ork" -nbound 'essage Processing in BC )nitia%%& %ook or the inbo!nd me""a*e comin* in to $+ 1. 7ra* a proce"" rom proce"" de inition /. $etween "tart and end0 dra* a $+ 5eceive5e3!e"t/1oti ication 2. )n the +on i*!ration tab "peci & the name a" per the b!"ine"".

4. )n the "erver detai%"0 *et the "hared $+ conection exi"ted. N. 9e%ect the operation 1ame0 whichever i" &o!r inbo!nd inter ace. 6. ) &o!r are receivin* an xm% pa&%oad0 p%" check the <ar"e xm% pa&%oad which wi%% be in *ood "ta*e. 7. A ter that we can %o* the i%e" comin* in !"in* %o* activit&. O. 7ra* an write i%e activit&0 b& which we are archivin* the pro>ect. P. +atch a%% exception i" a mandator& activit& to be in"erted. 10. At the end ca%% a proce"" ca%%ed %o*Iexception. -mporting bc/bc#cs+ ) a""!me &o! are re errin* to )mport the 9aved )n"ta%%ation +on i*!ration ) &o! are importin* data rom the previo!"%& "aved in"ta%%ation con i*!ration0 o%%ow the"e "tep": 1. 6pen the $!"ine""+onnect admini"tration pane% b& "e%ectin* $!"ine""+onnect and c%ick on :ana*e )n"ta%%ation. /. 9e%ect the )mport/?xport tab. T%e 'anage -nstallation7 -mport2&+port dialog appears# 2. ) the con i*!ration wa" "aved with a pa""word0 enter that pa""word. 4. +%ick on )mport +on i*!ration 7ata. N. )n the (p%oad dia%o*0 c%ick chan*e to "peci & the i%e where the o%d con i*!ration wa" "aved. T%e C%ange File dialog appears# 6. $row"e to the %ocation where the i%e 7omain1ame.c"x wa" "aved. 7. +%ick 6pen and then 6M. 8A!9-9:( 7o not exit the "creen whi%e the data import i" in pro*re"". )t i" important to a%%ow thi" proce"" to be comp%eted proper%&. ) the data import i" interr!pted or an& rea"on0 the "&"tem ma& be %e t in an !npredictab%e "tate. )n "!ch ca"e0 &o! need to recreate the in"ta%%ation and to per orm a new import. T%e ;pload dialog appears wit% t%e #cs+ file listed ne+t to ;pload Configuration .ata File# O. +%ick 6M . A warnin* wi%% appear exp%ainin* how the import wi%% proceed. P. +%ick 6M. #he data import %o* wi%% "how !p. 10. +%ick 7one to ini"h import Ao! wi%% be %o**ed o!t o the "&"tem and need to %o* in a*ain.

A i%e wi%% be encr&pted !"in* <'<,<rett& *ood <o%ic&. A<). )" there an& chance o decr&ptin* in #ibco =or%d? An": A" mentioned0 it "ho!%d be decr&pted !"in* <'< A<),$!t need the private ke& i%ewhich wi%% be provided.

/. =hat i" decr&ption and Archivin* in the b!"ine""work" proce"" %ow? =hich activit& in tibco wi%% he%p in acheivin* tho"e two? An": Archivin* i" a proce"" o d!p%ication. 7ecr&ptin* i" proce"" o *ettin* back the "ame i%e which i" encr&pted. #hi" i" acheived b& writtin* a web"ervice. 2. $!"ine"" +onnect wi%% be dep%o&ed in "in*%e "erver modeWWWWWWWW -ow man& mode" are avai%ab%e. An": 7!a% @irewa%% 7mD 9erver :ode and 9in*%e "erver mode, )9 thi" ri*ht?. ) "o what i" the di erence?. 4. -ow to create a i%e ba ck!p !"in* a web"ervice? An": +reatin* a back!p i%e with "ame i%e name and exten"ion in to a di erent o%der "tr!ct!re o "ame/di erent "erver. -ow to achieve thi"? N. -ow to break a %ar*e c"v i%e in to individ!a% data record"? An": $& %ookin* intto the c"v0 de ine a data ormat0 mention the tota% %en*th0 mention "tart and end............ )" thi" 5i*ht?

$!"ine"" +onnect wi%% be dep%o&ed in "in*%e "erver modeWWWWWWWW -ow man& mode" are avai%ab%e. An": 7!a% @irewa%% 7mD 9erver :ode and 9in*%e "erver mode, )9 thi" ri*ht?. ) "o what i" the di erence?. <%ea"e re er $+ admini"trator *!ide/in"ta%%ation *!ide.

-ow to break a %ar*e c"v i%e in to individ!a% data record"? An": $& %ookin* intto the c"v0 de ine a data ormat0 mention the tota% %en*th0 mention "tart and end............ )" thi" 5i*ht? #hat i" correct. :ake "!re the record %en*th macthe" and "tart and end po"ition o each ei%d.

http://www.xmarter.com/tibcoItrainin*Icenter/tibcoIarchitectI"erie"/whatIi"ItibcoI b!"ine""connect.>"p

Description about a few palettes in designer *+write file: /t writes the content to the specified file we can take write file activity from file palette in palette panel of <esigner we can configure write content as either text or binary format /t will also creates non8existing directories for file location by specifying a particular path ,+read file: 'his activity appears in file palette /n this we can read a file of either text or binary content in to activity 'he output tab contains file info like si&e, last modified, location and also

content of the file 1+$ile 7oller: 'his is a process starter and starts process whenever there is a change in file or directory specified /t polls events and starts a new process when ever there is a change in file or directory of specified path like delete, create,modify events B+J<(A Aonnection: 'his resource is used to connect the activities present in J<(A palette during their usage in a process /n this there are three types of connections like J<(A J4</ 5! P $or J<(A Aonnection you have to specify J<(A <river, 2ser name, password, "ogin 'ime out and maximum connections (y default maximum connections value is *C P$or J4</ connection you have to specify J4</ data source name, a+J4</ connection factory b+Aontext url c+2ser 4ame d+password P/f we check used share J4</ configuration then you have to specify J4</ configuration and J4</ data source name P$or 5! we have to specify 5! data source class, data base 2>", 2ser name , 7assword, Maximum Aonnections

D J<(A Query: /t is used to get data from a database by using re0uired select statement /f this activity is used in a group transaction the #Q" statement is committed at the end of transaction along with other jdbc activities otherwise it commits after the activity completes /n this we have to define parameter name and data type based on the data we are fetching from data base F J<(A 2pdate: 'his activity is used to perform <M" statements like insert, update or delete in a database table /n configuration tab we have to specify path to J<(A connection we have to write a #Q" statement based on the changes we need to do in database /n output tab it specifies the number of updates based on the number of statements it performs G 7arse 5M": /t takes the content from a read file activity and process the data then

send to output based on the schema specified in output editor tab /t contains input styles option in configuration tab so we can send in three different kinds of modes namely binary mode,text mode,dynamic mode /t contains validate output in configuration tab if we checked it the output should match with schema specified in output editor tab I >ender 5M": /t transforms the input data in to a 5M" #tring or stream of bytes containing 5M" /f we check validate input option then the input should matches the schema specified in input editor tab :ere we can specify output is either in binary mode or in text mode E <!'! $9>M!': 'his resource is used to specify the format for parse data and render data activities here we have a+<elimited column format: P /n this we have to specify column seperator, column separate parse rule and line separator /n line separator we have three options namely newline, carriage return, carriage return3line feedHwindows+ b+$ixed width column format: P/t contains line separator and fill character options *C 7arse <ata: 'his activity takes a file or text string as input and parses the data based on the format specified in data format resource /n configuration tab we can check options like continue on error if we want to continue to next record when error occurs during the process we can check strict validation for matching the number of fields for fixed format text we can check manually specify start records to parse the records in parts to minimi&e memory usage ** >ender <ata: /t transforms the data to a text string based on the data format configuration from an input data schema :ere configuration tab contains a+ name 8 %e can specify a particular name to this activity b+ description 8 'o write some details about its role c+data format8 'o specify the type of data by connecting to shared data format resource Some Activities under General activity pallet

:ere / am going to discuss some of the pallets used in the '/(A9 (% designer 'he palletes / am discussing here are under the general activity pallet group / will discuss *+ ;xternal command ,+ -enerate error 1+ -et shared variables B+ #hared variable D+ #et shared variable F+ %rite to log G+ Job shared variable I+ 'imer E+ /nspector *C+ 4ull ;xternal command: 'his activity is used to execute any command related to the systems 9perating system $or example if we are using a windows operating system we have exe files to execute the operation "ike for example if we want to execute the command to open a browser we can give the path of the exe file of that browser in the configuration tab in the Scommand to executeT $or example u can type SnotepadT and when u run the process we see that the notepad opens and the flow of process halts at that activity %hen we close the notepad the process continues -enerate error: 'his activity is used to generate the error and pass on the transition to the error transitions 'his activity is useful for us to create our own error definitions /n case of using sub process we may not be sure if there will be any error in that sub process so we need to come out of that process and continue the flow of process 'hus inside sub processes we can add the generate error activity to the last activity and send the response to the main activity stating that the error has occurred %e have specify our own error #hared variable: 'his is a resource that is found in the general activities at the project level 'his resource allows us to share that data between different processes 'he variables that are defined in this resource can be accessed by all the different processes in the project #o that when we are using a certain constant value in all the processes and we want to change the value of constant we need not go and change the value in each process %e can simply change it at one place and it is reflected in all the processes %e can define the variables at the same time or we can simply create the variables and set the values later Job #hared variable: Job shared variables is similar to shared variable resource but its scope is limited to the current running process and in job shared variable a copy of these variables is created for each process instance which means no sharing between processes 'his resource is useful when we do not want the transition of data between the parent and sub process %e can simply use the variables in both the processes and access he values in it 'he variables can be accessed by using get shared variable and set shared variable

-et shared variables: 'his activity allows us to retrieve the variables that are created in the shared variables and job shared variables %hen we create the shared variables using the shared variables resource we add some of the variables in that resource which can be retrieved by the get shared variable 'he output of this activity is the shared variables #et shared variable: 2sing this activity we can set the values for the shared variables /n the configuration tab we find variable configuration where we can select either the shared variable or job shared variable resource %hen we select the resource, in the input tab we can see all the variables that are under that resource %e can set the values using the 5 path or we can simply define the values %rite to log: 'his activity is used to write the logs to the file when ever the process runs 'here are two types of logs that are created depending whether we are using the process engine or the deployed process #o whenever we want to write the logs to a desired file location we can write to that file 'he role name of the file can be user defined so that we can easily recogni&e our log files <uring the test mode the logs are stored on the working directory under the logs <uring the deployment the logs are stored under the '>!3admin3versionU3domain3ourLdomainLname3logs 'imer: 'his is a starter activity in which we can specify the time at which the process has to start /n general it takes the local machines time &one %e can also start the process multiple times by specifying the time intervals /n the output of this starter we have the total information of when the process has started /nspector: 'his activity is mainly used for debugging the process design $or debugging we need to know the values of the variables that are in the process /nstead of writing all the variables to a separate file we can simply map those variables to the inspector activity and view all the variables in the same file !ll the activities that are connected to inspector activity can write their variableQs values to the inspectorQs file 4ull activity: 'his activity is just a aid to help us continue the process flow in a single flow #ometimes a activity can have multiple transitions coming out of it depending upon the transition conditions specified #o to continue the flow we need to connect each of these transitions to the next activity /nstead we can club all the transitions and connect to the null activity which will act as the connector without making any changes to the values /t simply passes the value that it receives from one of the several transitions connected to it at the input side general activity pallet: assign,catch,checkpoint,confirm....... -eneral !ctivities:

!ssign activity: this activity is used to assign a value to user defined process variables before using this activity process variables and data schema for each variable must be defined in the process definition <rag and drop assign activity into the design panel O /n the configuration process variable to setselect variable from drop down list we can see all variables defined in the process definition O /n the input we can see data schema for selected user8defined process variable in configuration tab O 'here is no output for this activity Aatch activity: this activity is used to take the control of execution when ever there is an unhandled exception in the process and proceeds to the end of the process or end of the group <rag and drop catch activity into the design panel O /n the configuration tab if we enable Vcatch allQ option , this activity will take any exception occurred in the process O ;xception to catch: we can select the available exception from drop down list, this field is disabled when catch all option is available O 'here is no input for this activity O 9utput is depends on the exception Aheckpoint !ctivity: this activity is used to saves the current state and current process data so that this saved data is used for recovery in case of failure Aonfirm activity: this activity is used to confirm messages received by process instance <rag and drop this activity into design panel O /n the configuration tab Aonfirm;vent select the starter activity from drop down list which re0uires the confirmation messages Austom activity: this activity is used to create an activity which has a reference to process definition 8useful when we want hide the implementation details, and this activity can be used by others <rag and drop this activity into design panel O /n the configuration tabprocess nameselect the process definition , select only process which has start activity not starter activity 'o use custom activity do: O -o to toolbar palette my palette O Areate new palette , give any name O <rag and drop the custom activity Hwhich we created + from project panel in to the Vmy paletteQ panel O <rag and drop the custom activity in to the design panel ;</';< $>9M M; A9"";A';< $>9M 4;'

1. n one tibco pro!ect how many services interfaces it will be created Answer
Ao! can have 4 mode" o "ervice invocation in a pro>ect. #he& are 1. <!b%ication "ervice /.5e3!e"tI5e"pon"e )nvocation 9ervice 2. 5e3!e"tI5e"pon"e 9ervice 4. 9!b"cription 9ervice

". #hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer =ait or >m" m"* i" ... waitin* or recipet o m"* or "peci ied >m" m"* and *et >m" 3!e!e m"* i" retrieve m"* rom "peci ied 3!e!e.and it a%"o receive operation a" 3!e!e a" oppo"ed to wait or 3!e!e m"* to be de%eivered to wait or >m" 3!e!e m"* '.#hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer #he 'et U:9 E!e!e :e""a*e activit& i" di erent rom the =ait or U:9 E!e!e
:e""a*e activit& in the o%%owin* wa&": X (n%ike the =ait or activit&0which "tart" %i"tenin* or me""a*e" rom the time the $!"ine""=ork" en*ine "tart"0 thi" activit& "tart" %i"tenin* or incomin* me""a*e" on the "peci ied 3!e!e rom the time the activit& i" tri**ered. X 'et U:9 E!e!e :e""a*e activit& can receive on%& one me""a*e rom the "peci ied 3!e!e at a time0when the :e""a*e 9e%ector i" not !"ed. X 6nce tri**ered0 'et U:9 E!e!e :e""a*e activit& can either *et" a me""a*e rom the "peci ied de"tination 3!e!e name be ore timeo!t and proceed" or it throw" a timeo!t error and exit".

B #ht is bussiness key(

#hi" "trin* i" appended to the A? trackin* in o app)n o ie%d. #he A? trackin* in o or me""a*e" p!b%i"hed i" a concatenation o bw Y Tproce""1ameK Y T>ob)7K Y Tb!"ine""Me&K. 1ote: )t i" a *ood idea to have a%% p!b%i"her" in a proce"" !"e the "ame b!"ine"" ke&. 6n%& the mo"t recent p!b%i"herL" b!"ine"" ke& i" !"ed in the trackin* in o or the me""a*e.

). #ht is process name dynamic override( Answer An J<ath orm!%a "peci &in* the name o the proce"" to ca%%. ("e thi" ie%d to d&namica%%& determine which proce"" to ca%% when the proce"" in"tance i" r!nnin*.

Ao! can !"e the <roce"" 1ame 7&namic 6verride ie%d on the +on i*!ration tab to "peci & an J<ath expre""ion that determine" which proce"" to ca%%. #hi" i" !"e !% or ca%%in* a di erent proce"" dependin* !pon the va%!e o the Jpath expre""ion. @or examp%e0 &o! have an incomin* -##< re3!e"t that contain" an attrib!te named orderAmo!nt. @or a%% incomin* order" over Z1000000 &o! wi"h to ca%% a proce"" that inc%!de" activitie" in the :an!a% =ork pa%ette to obtain the proper approva%". @or order" !nder Z1000000 &o! wi"h to ca%% a proce"" that hand%e" the order a!tomatica%%&. Ao! can create the o%%owin* expre""ion that re"o%ve" to the proper proce"" name or each t&pe o order: i ,Z)ncomin*6rder/orderAmo!nt K 10000. then L/:&<ro>ect/man!a%Approva%.proce""L e%"e L/:&<ro>ect/proce""6rder.proce""L ("e the !%% path and name o the proce"" i%e a" "tored in the pro>ect director&. =hen &o! !"e the <roce"" 1ame 7&namic 6verride ie%d0 &o! m!"t a%"o "peci & a proce"" to ca%% in the <roce"" ie%d. #he inp!t0 o!tp!t0 and error de inition" o the "peci ied proce"" m!"t be the "ame a" an& proce"" that the expre""ion in the <roce"" 1ame 7&namic 6verride ie%d can eva%!ate to. )np!t 9ee #)$+6 $!"ine""=ork" <roce"" 7e"i*n '!ide or more in ormation abo!t mappin* and tran" ormin* inp!t data. #he inp!t or the activit& i" the o%%owin*. )t ma& be he%p !% to create proce"" de inition" that act a" pro*rammatic inter ace" when !"in* the <roce"" 1ame 7&namic 6verride ie%d. )n the examp%e above0 &o! ma& create a proce"" named order<roce"" 6r Approve. #he on%& p!rpo"e o thi" proce"" i" or "peci &in* the inp!t0 o!tp!t0 and error "chema". <%ace thi" proce"" in the <roce"" ie%d o the +a%% <roce"" tab. #hen0create the man!a%Approva% and proce""6rder proce"" de inition" a" copie" o the order<roce""6rApprove proce"". #he +a%% <roce"" activit& then ha" the correct inp!t0 o!tp!t0 and error "chema" or a%% proce""e" that can be ca%%ed.) &o! !"e the <roce"" 1ame

7&namic 6verride ie%d0 make "!re &o! inc%!de a%% potentia%%& ca%%ab%e "!bproce""e" when &o! create &o!r <roce"" Archive or dep%o&ment. #)$+6 7e"i*ner cannot determine which "!bproce""e" are potentia%%& ca%%ab%e at de"i*n time0 and there ore the& cannot be a!tomatica%%&.

*+A,.#hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer =ait or >m" m"* i" ... waitin* or recipet o m"* or "peci ied >m" m"* and *et >m" 3!e!e m"* i" retrieve m"* rom "peci ied 3!e!e.and it a%"o receive operttion a" 3!e!e a" oppo"ed to wait or 3!e!e m"* to be de%eivered to wait or >m" 3!e!e m"*. -,. #hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer #he 'et U:9 E!e!e :e""a*e activit& i" di erent rom the =ait or U:9 E!e!e :e""a*e activit& in the o%%owin* wa&":

X (n%ike the =ait or activit&0 which "tart" %i"tenin* or me""a*e" rom the time the $!"ine""=ork" en*ine "tart"0 thi" activit& "tart" %i"tenin* or incomin* me""a*e" on the "peci ied 3!e!e rom the time the activit& i" tri**ered. X 'et U:9 E!e!e :e""a*e activit& can receive on%& one me""a*e rom the "peci ied 3!e!e at a time0when the :e""a*e 9e%ector i" not !"ed. X 6nce tri**ered0 'et U:9 E!e!e :e""a*e activit& can either *et" a me""a*e rom the "peci ied de"tination 3!e!e name be ore timeo!t and proceed" or it throw" a timeo!t error and exit".

..#hat is the advantage of scripted deployment in /ibco(#hat is difference between scripted deployment and normal deployment ?
$e%ow are the "cenerio ) can expect: 1. =hen ever the #)$+6 Admini"trator i" down we have to dep%o&e a app%ication rom #5A IK Appmana*e. /. )n ca"e we have to dep%o&e vario!" app%ication" !"in* "ame *%oba% parameter"0 we have to provide ever& time the"e parameter" in #)$+6 admini"trator wi%e dep%o&ement. 9o it" better to *et a be"t proctice to dep%o&e app%ication rom backend !"in* the "cript". be%ow are the advanta*e": 1. ) Admin i" down we are ab%e to dep%o&e app%ication /. =e !"e a propertie" i%e ,J:8. which i" havin* a%% the variab%e" which can be !"ed b& vario!" "imi%%er app%ication". 9o %ow work%oad.

0. #hats the difference between publish by value and publish by referrence Answer )n p!b%i"h b& va%!e0 a%% the data wi%% be copied rom main tab%e to < tab%e..where a" in p!b%i"h b& re erence on%& the re erence wi%% be copied. 1+A,. #hat is 2ile adapter,AD- Adapter in tibco( D ff -# /hem ? CA7$ Adapter or 7ataba"e......#he @i%e adapter tran" er" i%e" into and o!t o :icro"o t $iD#a%k 9erver. #he @i%e adapter con"i"t" o two adapter"[
1.a receive adapter and /.a "end adapter. CActive7ataba"e adapter to orac%e i%e adapter to i%e ormat" %ike di erent text i%e0doc etc

-, #hat is 2ile adapter,AD- Adapter in tibco( D ff -# /hem ?

A7$ adapter i" !"ed to tran" er b!%k o data rom the app%ication or 7ataba"e to other 7ataba"e. whi%e con i*!rin* the A7$ the <!b%ication9ervice ha" <_tab%e in which the "o!rce tab%e modi ied data i" tri**ered and thi" i" po%%ed into the me""a*in* %a&er. @rom the me""a*in* %a&er the 9!b"cription"ervice p!%%" the data and "tore" into the tar*et tab%e. And now the data "tored can be acce""ed b& di erent app%ication". =hen b!%k tran" ormation o data i" re3!ired we *o or A7$.

*CH!+ how to create adapters(how to connect adapters( and how to build( Answer &o! can create adaptor b& !"in* core >ava.then a ter &o! have to pa"" the parameter thr! J:8 i%e. -, how to create adapters(how to connect adapters( and how to build( Answer adapter" can be created b& !"in* adapter97M activit&.thi" i" !"ed to deve%op c!"tom adapter".adapter" can be connected thro!*h me""a*in* %a&er",>m" or rv. 11+A,.what is soap( how to use soap( 9imp%e 6b>ect Acce"" <rotoco% !"ed to "end J:8 me""a*e" a%on* the network -, what is soap( how to use soap(
"erver oriented app%ication protoca% it i" one o web "ervice" !"in* interner and techno%o*& it i" act a" "erver and c%ient ir"t de"i*n bw or one app%ication0 then it pa""ed to "oap "erver which recieve" the incomin* re3!e"t" via http or "oap or >m" then "er prox& decode" re3!e"t into ca%% the to app%ication "evice prox& i" encode"with rep%&

*, H!+what is global variables(

-lobal .ariables are the variables that are used anywhere in the project 'hese can be called or used across the process or sub process that is with in the project -lobal variables can be overridden at runtime
#here are 2 t&pe" o variab%e" 1. '%oba% Gariab%e"IIIIIthro!*h o!t the pro>ect , !"ed or con"tant". /. <roce"" variab%e"IIIIIActivitie" in the pro>ect where the variab%e" are de ined. 2. 9hared Gariab%e" IIIIII Acro"" m!%tip%e proce"" in"tance" , !"ed to "hare data.

-, what is global variables(


the"e variab%e" a%%ow" to "peci & con"tant" that can be !"ed thro!*ho!t the pro>ect. #he con"tant" can be "peci ied and chan*ed whi%e de"i*nin* and te"tin* &o!r pro>ect.

3, what is global variables( *%oba% variab%e" are con i*!red once can be !"e thro!*h o!t the pro>ect it i" ca%%ed *%oba% variab%e" . D, what is global variables(
'%oba% Gariab%e" are de ine or the va%!e which remain ix d!rin* who%e proce"".#he"e variab%eB" canBt be modi ied d!rin* proce"" exec!tion.

4,what is global variables( '%oba% variab%e" a%%ow" &o! to "peci & con"tant" that can be !"ed thro!*ho!t the pro>ect. #he con"tant" can be chan*ed whi%e de"i*nin* and te"tin* &o!r pro>ect. we can a%"o "et di erent va%!e" or each dep%o&ment o &o!r pro>ect. we can add/edit the '%oba% variab%e" !"in* '%oba% Gariab%e
?ditor.

2, what is global variables( *%oba% variab%e" are created b& de inin* them o!t"ide o a%% the !nction" inc%!din* the main in the pro*ram. #he common practice i" that a%% *%oba% variab%e" are de ined at the be*inin* o the pro*ram code be ore an& !nction. *%oba% variab%e" can be acce""ed rom an& !nction inc%!din* main !nction and other !"er de ined !nction".

1'+A, how to create adapters(how to connect adapters( and how to build(


#)$+6 hava di erent adapter" or di erent app%ication with di erent adapter" tho"e are Active7ataba"e adapter to orac%e i%e adapter to i%e ormat" %ike di erent text i%e0doc etc :E "erie" adapter to main rame with !"in* web"hpere 5/2 adapter or 9A<

examp%e int x0&; /C '%oba% Gariab%eC/ main,. \ int a0b;/C%oca% variab%eC/ "tatement 1; "tatement /; . . . "tatement n; ]

-, how to create adapters(how to connect adapters( and how to build(


i dont know brie %& abt thi"0b!t i wi%% *ive "ome in ormation0we cannot create adapter"0we m!"t in"ta%% adapter" which we re3!ired.we have "o man& adapter" "!ch a" "ap0m3"erie"0adb0 "iebe%0peop%e"o t etc..........we m!"t in"ta%% re3!ired adapter" or o!r pro>ect. -ow can we connect mean"0 a ter in"ta%%in* the re3 adapter we can !"e the activitie" provided b& tht adapter. how to b!i%d mmean" i cant *et !r 3!eation".

15. wht is a spawn in call process (


when we check the "pawn in ca%% proce"" the ca%% proce"" and the main proce"" which i" ca%%in* the ca%% proce"" r!n" a" "eparate thread".

1)+A,. #hat is the Difference between $%S &ueue reciever and $%S &ueue re&uestor(
Um" 3!e!e reciever i" re"pon"ib%e or con"!min* the me""a*e rom the U:9 in a 3!e!e. =hi%e U:9 3!e!e re3!e"tor i" "imi%ar to re3!"et rep%& in "oap. it wait" ro a rep%& in rep%&/to 3!e!e.

-, #hat is the Difference between $%S &ueue reciever and $%S &ueue re&uestor(

U:9 E!e!e receiver i" a "tarter activit&. )t "tart" a proce"" on the recipt o a me""a*e or the "peci ied U:9 3!e!e0 it i" %i"tenin* to.61 the other hand0 U:9 3!e!e re3!e"tor i" not a "tarter activit&0 it i" !"ed to "end a re3!e"t to a U:9 3!e!e and receive" a re"pon"e back rom the U:9 c%ient. #hi" activit& !"e" temporar& de"tination" to en"!re that rep%& me""a*e" are received on%& b& the proce"" that "ent the re3!e"t.

1*A, -y using whic -# palette we can create D- table(


$& !"in* the H9E8 7irect activit& H in the U7$+ pa%ette

-, -y using whic -# palette we can create D- table(


9E8 7irect o U7$+ pa%ette

1.+A,. f there are two sub processes then how can we call at a time one sub process dyanmiccally by using call porcess(
)n ca%% proce"" we have an option a" <roce"" 1ame 7&namic 6verride0 thi" ie%d i" !"ed to determine d&namica%%& which proce"" to ca%% when the proce"" in"tance i" r!nnin*.$!t here both the "!b proce"" "ho!%d have the "ame inp!t0o!tp!t and error "chema.

-, f there are two sub processes then how can we call at a time one sub process dyanmiccally by using call porcess(

)n ca%% proce"" we have proce"" name d&namic override0 thi" he%p" !" to ca%% the "peci ic proce"" whi%e r!nnin*. @or ex: we have / "!b proce""e" in which whi%e r!nnin* ba"ed on "ome condition we are ca%%in* a "in*%e "!b proce"". ) e%"e +ondition can be *iven or 7&namic overridin*. etc.0$!t here both the "!b proce"" "ho!%d have the "ame inp!t0o!tp!t and error "chema.

10. 6nce we have deployed the ear file in /ibco admin, n which location the data7service7properties will store ?
) the in"ta%%ation o%der o tibco wi%% be in + director& then once we have dep%o&ed the ear i%e 0the in ormation wi%% be "tored in the o%%owin* %ocation. i domain name i" m&domain and pro>ectname i" #e"t6ne then 8o* i%e" : +:VtibcoVtraVdomainVm&domainVapp%icationV%o*" #e"t6ne.tra i%e :,it contain" a%% propertie". : +:VtibcoVtraVdomainVm&doaminVapp%icationV#e"t6ne 9ervice/<ro>ect :+:VtibcoVtraVdomainVm&domainVdata i%e"

11. 8ow can we import73opy the custom palettes into another pro!ect(
@ir"t ind the %ocation where the c!"tom pa%ette" are "tored,Ao! can chan*e/*et the path rom ?dit/<re erence"I!"er directorie"I("er <a%ette director& o de"i*ner window..6nce &o! o!nd the %ocation "imp%& cop& what are a%% the c!"tom pa%ette" &o! wi"h to !"e in other pro>ect and pa"te the c!"tom pa%ette" director& in another machine. 1ote : ) &o! are r!nnin* two pro>ect" in the "ame machine then &o! need not do the above proced!re .#he c!"tom pa%ette" wi%% a!tomatica%%& avai%ab%e to the other pro>ect which i" r!nnin* in the "ame machine. $& de a!%t c!"tom pa%ette" wi%% "tore in be%ow %ocation : +:V7oc!ment" and 9ettin*"V!"ernameV.#)$+6Vc!"tom_pa%ette"

"9. 8ow can we import73opy the custom palettes into another pro!ect(
+hoo"e <ro>ect IK )mport 5e"o!rce" rom @i%e0 @o%der0 (58 or "imp%e )mport in de"i*ner

"1+A,.8ow can we change Global variable deployment ( what is it defines(


=e can chan*e the *%oba% varaib%e" rom the +ommand prompt on the "erver.

-, 8ow can we change Global variable deployment ( what is it defines( 3, 8ow can we change Global variable deployment ( what is it defines(

+o!%d &o! p%ea"e "end me the proced!re/command to chan*e the *%oba% variab%e rom command prompt.

) wo!%d not enco!ra*e thi" b!t i &o! want &o! can add tibco.c%ientGar.T'GnameK=va%!e in the appname.tra i%e in Ttibco_homeK/tra/domain/Tdomain nameK/app%ication/app name director&.

D, 8ow can we change Global variable deployment ( what is it defines(


Ao! can chan*e the r!ntime variab%e" or a "ervice or proce"" I )n #)$+6 Admini"trator0 c%ick App%ication :ana*ement. 1. 9e%ect an app%ication and expand it. /. )n the +on i*!ration $!i%der pane0 c%ick a "ervice or proce"" name. A "ervice i" named with a .arr "! ix. A proce"" i" named with a .par "! ix. 2. +%ick the Advanced tab. 4. +han*e r!ntime variab%e" a" re3!ired. N. +%ick 9ave.

4,8ow can we change Global variable deployment ( what is it defines(

) knew thi" proced!re 5ah!%.Ao! can do the above or &o! can p%ace a%% the *%oba% variab%e" in on i%e a" be%ow tibco.c%ientGar.+onnection"/7ataba"e/7$1ame=)$#?9#11 tibco.c%ientGar.+onnection"/7ataba"e/7$6wner=##)$ tibco.c%ientGar.+onnection"/7ataba"e/7ataba"e(58=>dbc:db/:/<997$#:N1010/)$#?9#11 tibco.c%ientGar.+onnection"/7ataba"e/U7$+7river=com.ibm.db/.>cc.7$/7river tibco.c%ientGar.+onnection"/7ataba"e/8o*in#imeo!t=0 tibco.c%ientGar.+onnection"/7ataba"e/:axim!m+onnection"=10 And "ave the above i%e a" B i%ename.propertie"B and then need to add the o%%owin* in app%ication.tra i%e once &o! have dep%o&ed the ear i%e. tibco.env.A<<_A5'9= Ip i%ename.propertie". 5ah!% ) need the command to chan*e the va%!e orm command prompt a" &o! "aid ear%ier.

"". #hat is the puprose of $ob Shared varaibel or tell me about about !ob shared variable(
A Uob 9hared Gariab%e a%%ow" &o! to "tore data or !"e b& each proce"" in"tance. A "eparate cop& o the variab%e i" created or each new proce"" in"tance. #hi" re"o!rce i" !"e !% or pa""in* data to and rom "!bIproce""e" witho!t creatin* an inp!t or o!tp!t "chema or the ca%%ed proce"". Ao! can !"e the 'et 9hared Gariab%e and 9et 9hared Gariab%e activitie" to acce"" the data in"tead o mappin* data to a ca%%ed proce""e" inp!t or o!tp!t "chema". 1ew proce"" in"tance" receive a cop& o the variab%e0 "o data cannot be "hared acro"" proce"" in"tance". 9cope o the >ob "hared variab%e i" with in the proce"" in"tance i.e the va%!e" which wa" "et in one proce"" in"tance 0can not be avaib%e in other proce"". ) >ob "hared variab%e in <roce"" de initionI1 "et to N then the "ame va%!e wi%% not exi"t in proce"" de inition I/ .#hi" mean" a "eparate cop& o in"tance i" maintained in each proce"" in"tance.

"'. #hat are the data types of Global varaibles which -# follows(
9trin*0)nte*er0$oo%ean0<a""word

"5+A,. #hat is meant by process conte:t varibale(


#here are two proce"" variab%e" that are avai%ab%e to a%% activitie" that accept inp!t: Z_*%oba%Gariab%e" and Z_proce""+ontext. Z_*%oba%Gariab%e" contain" the %i"t o *%oba% variab%e" de ined on the '%oba% Gariab%e" tab o the pro>ect. Z_proce""+ontext contain" *enera% in ormation abo!t the proce""0 "!ch a" the proce"" )70 the pro>ect name0 whether the proce"" wa" re"tarted rom a checkpoint0 and "o on.#hi" proce"" +ontext variab%e wi%% be created a!tomatica%%& whenever we create an pro>ect

-, #hat is meant by process conte:t varibale(

<roce"" +ontext variab%e i" a prede ined proce"" variab%e which i" avai%ab%e to a%% activitie" that accept inp!t. #hi" variab%e contain" *enera% in ormation abo!t the proce"" %ike the proce""id0 pro>ect name0whether the proce"" ha" recovered rom a check point etc

"). 8ow many types of Global vaibles are there in -#(

when creatin* a *%oba% variab%e !"in* the 'G editor ... we can "ee that the '%oba% Gariab%e" can be dec%ared a" 1."trin* 2.integer 3.password 4.boolean

"*.#hat are the types of encoding which -# follows(


)96OONPI1 ,8atinI1.[<re erred encodin* or pro>ect" that dea% on%& with ?n*%i"h and other =e"tern ?!ropean %an*!a*e" that be%on* to the )96 8atinI1 character "et. ) thi" encodin* i" !"ed or %an*!a*e" that do not be%on* to the 8atinI1 character "et ,"!ch a" Uapane"e0 Arabic0 etc..0 data %o"" ma& re"!%t. (#@IO[<re erred encodin* or pro>ect" dea%in* with %an*!a*e" not be%on*in* to the 8atinI1 character "et. #hi" inc%!de" mo"t %an*!a*e" except or ?n*%i"h and other we"tern ?!ro

"..how we can send data through adb adapter in tibco bw(


)n the "!b"cribe data rom adapter activit& in $= we can either !"e 1. 5G or

/.U:9 to recieve data

"0. how we can send data through adb adapter in tibco bw(
Ao! create or con i*!re an J:8 9chema or the record &o! want to "end in the U:9 in &o!r pro>ect in $!"ine"" work" <roce""/Adapter0 then )t i" capt!red b& the E!e!e &o! created in &o!r me""a*in* "ervice in #)$+6 5G or ?:9. #hi" i" then con"!med b& the "!b"cribin* "ervice/adapter $= <roce""

"1. how to create global variables and if we create where do we have to use in the pro!ect (

'%oba% variab%e" provide an ea"& wa& to "et de a!%t" or !"e thro!*ho!t &o!r pro>ect. #here are "evera% wa&" in which the& can be !"ed. #ho"e can be created in the pro>ect panne% we wi%% have a tab name b& '%oba% variab%e" there we can "peci & the"e...

* %hat are the modes of '/(A9 (% /nstallations ?


-2/ mode Aonsole mode #ilent mode

, /f you have installed a particular version of '/(A9 software e g '/(A9 (% 5 ) W, %hat are 5, ) and W number stands for?

Integration can be at different application la#ers:


;:7atch <:Major =:Minor

1 %hat is the role of '>!?

T3A stands for TIBCO 3untime Agent. The T3A has two main functions:

#upplies an agent that is running in the background on each machine * 'he agent is responsible for starting and stopping processes that run on a machine according to the deployment information , 'he agent monitors the machine 'hat information is then visible via '/(A9 !dministrator #upplies the run8time environment, that is, all shared libraries including third8 party libraries

B %hat are the resources that gets included in the ;!> file, created by the '/(A9 <esigner?

An "A3 file can contain local pro%ect resources& 2ibrar#Builder resources& and files as specified in Alias2ibrar# resources. In addition& the TIBCO Designer classpath ma# include references to other files that are included in the "A3 file.

D %hat are the revision control system options available in '/(A9 designer?

$ile sharing .## 7erforce 5M" Aanon AlearAase i7lanet A.# 7.A#

F %hat are the different modes of service invocation?

)er!ices can be in!o ed in se!eral wa#s.


! one8way operation is executed once and does not wait for a response ! re0uest8response operation is executed once and waits for one response /n a re0uest8response service, communication flows in both directions 'he complete interaction consists of two point8to8point messagesXa re0uest and a response 'he interaction is only considered complete after the response has arrived 7ublication Hnotification+ means an operation sends information on an as8 needed basis, potentially multiple times #ubscription means incoming information is processed on an as8needed basis, potentially multiple times

G %hat is vcrepo dat?

TIBCO Designer creates a file named !crepo.dat in the pro%ect root director# when #ou first sa!e the pro%ect. This file is used to store properties such as displa# name& TIBCO 3ende4!ous encoding& and description. This file can be used for identification in place of the pro%ect root director# and can be used as the repositor# locator string =repo-rl8.
I %hat are the '/(A9 (% activities that can participate in transactions?

.ot all TIBCO BusinessWor s acti!ities can participate in a transaction. Onl# the following t#pes of acti!ities ha!e transactional capabilities:

J<(A activities

JM# activities !ctive;nterprise !dapter activities that use JM# transports ;J( activities '/(A9 i7rocess (usiness%orks Aonnector activities

E %hat are the different types of 'ransactions '/(A9 provides?

TIBCO BusinessWor s offers a !ariet# of t#pes of transactions that can be used in different situations. 5ou can use the t#pe of transaction that suits the needs of #our integration pro%ect. When #ou create a transaction group& #ou must specif# the t#pe of transaction. TIBCO BusinessWor s supports the following t#pes of transactions:

J<(A Java 'ransaction !7/ HJ'!+ 2ser'ransaction 5! 'ransaction

*C %hat activities are supported in J'! 'ransaction?

The Aa!a Transaction A/I =ATA8 -serTransaction t#pe allows:


J<(A JM# !ctive;nterprise !dapter Husing JM# transports+ ;J( activities

to participate in transactions.
** %hat activities are supported in 5! 'ransaction ?

The <A Transaction t#pe allows:


J<(A activities !ctive;nterprise !dapter activities that use the JM# transport JM# activities

to participate in transactions. Note:For JMS activities and ActiveEnterprise Adapter activities, request/reply operations cannot participate in an XA transaction. Also, EJB activities cannot participate in an XA Transaction group.
*, %hat are the possible ;rror outputNs of >ead $ile activity?

Integration can be at different application la#ers:


2ile>ot2ound4:ception :'hrown when yhe file does not exist ?nsupported4ncoding4:ception:'hrown when the text fileQs encoding is not valid and the content of the file is read into process data 2ile 64:ception :'hrown when an /39 exception occurred when trying to read the file

*1 %hat is the purpose of the inspector activity ?

The Inspector acti!it# is used to write the output of an# or all acti!ities and process !ariables to a file and9or stdout. This is particularl# useful when debugging process definitions and #ou wish to see the entire schema instead of mapping specific elements to the Write >ile acti!it#.

*B %hat are the maximum3minimum of threads available for incoming :''7 ?

The ma6imum9minimum of threads a!ailable for incoming 'TT/ : BC9*1


*D :ow can unauthori&ed users be prevented from triggering a process ?

-nauthori4ed users be pre!ented from triggering a process b# gi!ing DwriteD access for the process engine to onl# selected users. Onl# users with DwriteD access can do acti!ities li e deplo#ing applications& starting9stopping process engines etc.
*F %hat are the mandatory configuration parameters for $'7 Aonnection M $'7 with firewall ?

The mandator# configuration parameters for >T/ Connection


$'7 host 7ort 2sername M 7asswordP

If >irewall is enabled in addition the pro6# host and port are re$uired.
*G how to design a process such that depending on number of records updated in a database, 1 different sub8processes may be called ?

Define E transitions from ADBC update with condition on the no of updates and call appropriate child processes.
*I :ow to use legacy dat file format with latest designer ?

Con!ert .dat file to multi file pro%ect using Administration tab while starting up Designer=Other one being /ro%ect tab8 and then open the multifile pro%ect in the normal wa#.
*E %hat are the encodings supported by designer ?

"ncodings supported b# designer are


/#9IIDE8*H"atin8*+ 2'$8I

,C %hat are the B main panels of the <esigner window ?

The F main panels of the Designer window are


7roject panel 7alette panel <esign panel Aonfiguration panel

,* :ow do you determine if there are broken references in the project?

Project -> Galidate for deplo#ment

,, %here are the <esigner preferences stored ?

Designer preferences stored are stores in a file called ' esigner !ver".pre#s' in the user home director#.
,1 ;xplain the process configuration parameters 8 Max Jobs, $low "imit M !ctivation "imit ?

%a: $obs :

7a6 Aobs specifies the number of process instances that are ept in memmor#. Once this limit is reached newl# created process instances =sub%ect to flow limit8 are paged out to dis .1 specifies no limit and is the default.

2low @imit :

>low 2imit specifies the ma6imum number of running process instances that are spawned before the process starter is suspended ie it enters a >2OW?CO.T3O22"D state and does not accept new e!ents. This can be used to control the number of process instances running simultaneousl# and when the protocol generating the e!ent can store the e!ent till it is recei!ed& li e email ser!ers& A7)& 3G etc. 1 specifies no limit and is the default.

Activation @imit :

Acti!ation limit flag specifies that once a process instance is loaded it must be placed in memmor# till it completes e6ecution. B# default it is enabled.
,B %hat are the options for configuring storage for process engineNs checkpoint repository ?

The options for configuring storage for process engineDs chec point repositor# are:

"ocal $ile <atabase $ault tolerant engines can recover from a checkpoint only when database is used

,D 7rocess engines in a fault tolerant group can be configured as peers or master secondary :ow do these differ ?

The options for configuring storage for process engineDs chec point repositor# are:

8 7eer means all of them have the same weight /n this case when one engine fails another one takes over and continues processing till it fails 8 /n master secondary configuration weights are une0ual, the secondary starts processing when master fails (ut when master recovers, secondary stops and master continues processing

,F %hat are the uses of grouping activities ?

-ses of grouping acti!ities are:


Areate a set of activities having a common error transition >epeat group of activities based on a condition * 8 /terate over a list

, 8 >epeat until condition true 1 8 >epeat on ;rror until condition true -roup activities into a transaction 'o create a critical section area that synchroni&es process instances ! N7ick $irst -roupN allows you to wait for the occurence of multiple events and proceed along a path following the first event to occur

,G %hat is the purpose of a "ock shared configuration resource?

A 2oc is specified for a DCritical )ectionD group when the scope is D7ultipleD. It can be used to ensure s#nchroni4ation across process instances belonging to multiple processs definitions or for process instances across engines=Chec multi engine flag for loc in this case and the BW engine needs to be configured with database persistence while deplo#ment8. If s#nchroni4ation is for process instances belonging to the same processs definition inside one engine& %ust specif# the scope as D)ingleD.
,I :ow to control the se0uence of execution of process instances created by a process starter ?

-se the se$uencing e# field in the 7isc tab of an# process starter. /rocess instances with the same !alue for this field are e6ecuted in the se$uence in which the# are started.
,E Aan there be two error transitions out of an activity ?

.o. There can be onl# one "rror and one )uccess if no matching condition transition out of each acti!it#.
1C %hen is a N4o !ctionN group used ?

D.o ActionD group used to ha!e a set of acti!ities ha!ing a common error transition
1* %hat activity can be used to set the value of a N2ser defined process variableN ?

The DAssignD acti!it# can be used to set the !alue of a D-ser defined process !ariableD.
1, %hich are the two process variables available to all activities with inputs ?

YLglobal.ariables YLprocessAontext

11 %hich mechanism can be used to pass data between a process instance and a called sub process other than mapping from3to the calleeNs input3output ?

This can be accomplished using %ob shared !ariables& unless in the call process acti!it# the D)pawnD flag is enabled in which case the called sub process is a new %ob and hence gets a fresh cop# of the %ob shared !ariable initiali4ed as per its configuration. A shared !ariable can o!ercome this limitation as itDs scope is not limited to one %ob.
1B %hat are the three scenarios where (% engine has to be configured with database persistence instead of "ocal $ile ?

The three scenarios are:


#hared .ariables across (% engines "ocking across groups in multiple (% engines %ait 4otify across (% engines

1D /f 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 ?

We can use $epeat on Error until true


1F %hen is a N-enerate ;rrorN activity useful?

When #ou handle an error inside a called subprocess or group and want to rethrow the error to the caller=happens b# default if #ou dont handle the error in the called process8
1G %hich activity is used for detecting duplicate message processing?

%&ec'(oint activity : )pecif# the uni$ueID for the duplicate e# field and engine maintains list of these e# fields. When a process come to chec point acti!it# with the same !alue for duplicate e# which alread# e6ists& it throws a Duplicate"6ception. An error transition can then handle this case.
1I -ive an example where graceful migration of service from one machine to another is not possible

'TT/ 3ecei!er. In this case the recei!er on new machine starts listening on the same port& but #ou need to redirect re$uests from the old machine to the new one.
1E %hat are the types of adapter services ?

T#pes of adapter ser!ices are :


#ubscriber #ervice 7ublisher #ervice >e0uest8>esponse #ervice >e0uest8>esponse /nvocation #ervice

BC /f the business process needs to invoke another web service which resource do you use ?

)OA/ re$uest repl# acti!it#. If the business process needs to be e6posed as )OA/ ser!ice use )OA/ "!ent )ource in con%unction with )OA/ )end 3epl# or )OA/ )end >ault.
B* %hat is the functionality of the >etrieve >esources resource?

It can be used to ser!e the wsdl file of a )OA/ "!ent )ource to a =http8 client. Construct a process li e: HTTP Receiver -> Retrieve Resources -> Send HTTP Response .ow the W)D2 file for a )OA/ ser!ice can be retrei!ed using the http re$uest
http: !host>:!port> !path> !resource"a#e>$wsdl

where DpathD is the folder path to the )OA/ "!ent )ource process and DresourceNameD is the

name of the process E)a*ple : http:99purch:00BB9/urchasing9,et/urchaseOrder?wsdl


B, %hat is the scope of user defined process variables ?

The scope of user defined process !ariables is onl# the process in which it is defined.=.ot e!en inside a sub process that is in!o ed from this process8
B1 %hat is difference between shared variable and job shared variable ?

Both of them can be manipulated !ia the palette resources '+et s&ared varia,le' and 'Set s&ared varia,le'. A %ob shared !ariable is pri!ate to one instance of %ob or in other words each %ob has a fresh cop#. In the case of shared !ariable the same cop# is shared across all %ob instances. It can e!en be persisted and can sur!i!e BW engine restarts and e!en shared across multiple BW engines=when deplo#ed using DB persistence8.

BB :ow do wait8notify resources work ?

Basicall# wait and notif# should share a common notification configuration which is %ust a schema definition for data that will be passed from notifier to waiter. )pecific instances of waiter H notifier are corrrelated !ia a e#. >or e6ample: when one process is in wait state for e# DOrder:*D& it waits till another process issues a notification with the same e# !alue.
BD %hat is the default !xis in 57ath ?

%&ild a)is: What this means is that when #ou select IBOO(I from the current conte6t& it selects a child node with that name& not a sibling with that name. Other a6es are parent & self & sibling etc.
BF %hat are the output formats for 5#"'?

5M" :'M" 'ext

BG %hat does N #uccess if no matching conditionN transition mean ?

2ets sa# between two nodes .* and .+& there are E success transitions with condition and there is no success transition without condition. If none of the conditions match then a D)uccess if no matching conditionD transition can be used. Also if there is a success transition and also success transitions with condition and if the condition matches then both the sucess transition =no condition8 as well as the transition=s8 with matching conditions are followed. )o #ou can use D)uccess if no matching conditionD to pre!ent duplicate paths of e6ecution.

BI %hat is the 7urpose of YLerror variable ?

is a!ailable in the node following the error transition. It captures the error message& error code etc.
%&error variable

BE %hat are the cases where business process cant proceed correctly subse0uent to restart from a checkpoint ?

#ending :''7 response, confirming an email3jms message etc 'his is because the confirmation or sending :''7 response has to done in the same session %hen engine crashes these sessions are closed at their socket level /n such cases send response3confirm before checkpoint

DC %hich group do you use to wait for multiple events and proceed with the first to occur ?

A D/ic >irst ,roupD.

#;A94< 7!>' 9$ '/(A9 Q2;#'/94 !4< !4#%;>

1. n one tibco pro!ect how many services interfacesess it will be created Answer
Ao! can have 4 mode" o "ervice invocation in a pro>ect. #he& are 1. <!b%ication "ervice /.5e3!e"tI5e"pon"e )nvocation 9ervice

2. 5e3!e"tI5e"pon"e 9ervice 4. 9!b"cription 9ervice

". #hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer
=ait or >m" m"* i" ... waitin* or recipet o m"* or "peci ied >m" m"* and *et >m" 3!e!e m"* i" retrieve m"* rom "peci ied 3!e!e.and it a%"o receive operttion a" 3!e!e a" oppo"ed to wait or 3!e!e m"* to be de%eivered to wait or >m" 3!e!e m"*

'.#hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer
#he 'et U:9 E!e!e :e""a*e activit& i" di erent rom the =ait or U:9 E!e!e :e""a*e activit& in the o%%owin* wa&": X (n%ike the =ait or activit&0which "tart" %i"tenin* or me""a*e" rom the time the $!"ine""=ork" en*ine "tart"0 thi" activit& "tart" %i"tenin* or incomin* me""a*e" on the "peci ied 3!e!e rom the time the activit& i" tri**ered. X 'et U:9 E!e!e :e""a*e activit& can receive on%& one me""a*e rom the "peci ied 3!e!e at a time0when the :e""a*e 9e%ector i" not !"ed. X 6nce tri**ered0 'et U:9 E!e!e :e""a*e activit& can either *et" a me""a*e rom the "peci ied de"tination 3!e!e name be ore timeo!t and proceed" or it throw" a timeo!t error and exit".

B #ht is bussiness key(


#hi" "trin* i" appended to the A? trackin* in o app)n o ie%d. #he A? trackin* in o or me""a*e" p!b%i"hed i" a concatenation o bw Y Tproce""1ameK Y T>ob)7K Y Tb!"ine""Me&K. 1ote: )t i" a *ood idea to have a%% p!b%i"her" in a proce"" !"e the "ame b!"ine"" ke&. 6n%& the mo"t recent p!b%i"herL" b!"ine"" ke& i" !"ed in the trackin* in o or the me""a*e.

). #ht is process name dynamic override( Answer

An J<ath orm!%a "peci &in* the name o the proce"" to ca%%. ("e thi" ie%d to d&namica%%& determine which proce"" to ca%% when the proce"" in"tance i" r!nnin*. Ao! can !"e the <roce"" 1ame 7&namic 6verride ie%d on the +on i*!ration tab to "peci & an J<ath expre""ion that determine" which proce"" to ca%%. #hi" i" !"e !% or ca%%in* a di erent proce"" dependin* !pon the va%!e o the Jpath expre""ion. @or examp%e0 &o! have an incomin* -##< re3!e"t that contain" an attrib!te named orderAmo!nt. @or a%% incomin* order" over Z1000000 &o! wi"h to ca%% a proce"" that inc%!de" activitie" in the :an!a% =ork pa%ette to obtain the proper approva%". @or order" !nder Z1000000 &o! wi"h to ca%% a proce"" that hand%e" the order a!tomatica%%&. Ao! can create the o%%owin* expre""ion that re"o%ve" to the proper proce"" name or each t&pe o order: i ,Z)ncomin*6rder/orderAmo!nt K 10000. then L/:&<ro>ect/man!a%Approva%.proce""L e%"e L/:&<ro>ect/proce""6rder.proce""L ("e the !%% path and name o the proce"" i%e a" "tored in the pro>ect director&. =hen &o! !"e the <roce"" 1ame 7&namic 6verride ie%d0 &o! m!"t a%"o "peci & a proce"" to ca%% in the <roce"" ie%d. #he inp!t0 o!tp!t0 and error de inition" o the "peci ied proce"" m!"t be the "ame a" an& proce"" that the expre""ion in the <roce"" 1ame 7&namic 6verride ie%d can eva%!ate to. )np!t 9ee #)$+6 $!"ine""=ork" <roce"" 7e"i*n '!ide or more in ormation abo!t mappin* and tran" ormin* inp!t data. #he inp!t or the activit& i" the o%%owin*. )t ma& be he%p !% to create proce"" de inition" that act a" pro*rammatic inter ace" when !"in* the <roce"" 1ame 7&namic 6verride ie%d. )n the examp%e above0 &o! ma& create a proce"" named order<roce"" 6r Approve. #he on%& p!rpo"e o thi" proce"" i" or "peci &in* the inp!t0 o!tp!t0 and error "chema". <%ace thi" proce"" in the <roce"" ie%d o the +a%% <roce"" tab. #hen0create the man!a%Approva% and proce""6rder proce""

de inition" a" copie" o the order<roce""6rApprove proce"". #he +a%% <roce"" activit& then ha" the correct inp!t0 o!tp!t0 and error "chema" or a%% proce""e" that can be ca%%ed.) &o! !"e the <roce"" 1ame 7&namic 6verride ie%d0 make "!re &o! inc%!de a%% potentia%%& ca%%ab%e "!bproce""e" when &o! create &o!r <roce"" Archive or dep%o&ment. #)$+6 7e"i*ner cannot determine which "!bproce""e" are potentia%%& ca%%ab%e at de"i*n time0 and there ore the& cannot be a!tomatica%%&.

*+A,.#hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer
=ait or >m" m"* i" ... waitin* or recipet o m"* or "peci ied >m" m"* and *et >m" 3!e!e m"* i" retrieve m"* rom "peci ied 3!e!e.and it a%"o receive operttion a" 3!e!e a" oppo"ed to wait or 3!e!e m"* to be de%eivered to wait or >m" 3!e!e m"*.

-,. #hat is the difference between #aitfor $%S &ueue %essage and Get$%S &ueue message activity. Also pls reply in terms of performance Answer
#he 'et U:9 E!e!e :e""a*e activit& i" di erent rom the =ait or U:9 E!e!e :e""a*e activit& in the o%%owin* wa&": X (n%ike the =ait or activit&0 which "tart" %i"tenin* or me""a*e" rom the time the $!"ine""=ork" en*ine "tart"0 thi" activit& "tart" %i"tenin* or incomin* me""a*e" on the "peci ied 3!e!e rom the time the activit& i" tri**ered. X 'et U:9 E!e!e :e""a*e activit& can receive on%& one me""a*e rom the "peci ied 3!e!e at a time0when the :e""a*e 9e%ector i" not !"ed. X 6nce tri**ered0 'et U:9 E!e!e :e""a*e activit& can either *et" a me""a*e rom the "peci ied de"tination 3!e!e name be ore timeo!t and proceed" or it throw" a timeo!t error and exit".

..#hat is the advantage of scripted deployment in /ibco(#hat is difference between scripted deployment and normal deployment ?
$e%ow are the "cenerio ) can expect: 1. =hen ever the #)$+6 Admini"trator i" down we have to dep%o&e a app%ication rom #5A IK Appmana*e. /. )n ca"e we have to dep%o&e vario!" app%ication" !"in* "ame *%oba% parameter"0 we have to provide ever& time the"e parameter" in #)$+6 admini"trator wi%e dep%o&ement. 9o it" better to *et a be"t proctice to dep%o&e app%ication rom backend !"in* the "cript". be%ow are the advanta*e": 1. ) Admin i" down we are ab%e to dep%o&e app%ication /. =e !"e a propertie" i%e ,J:8. which i" havin* a%% the variab%e" which can be !"ed b& vario!" "imi%%er app%ication". 9o %ow work%oad.

0. #hats the difference between publish by value and publish by referrence Answer
)n p!b%i"h b& va%!e0 a%% the data wi%% be copied rom main tab%e to < tab%e..where a" in p!b%i"h b& re erence on%& the re erence wi%% be copied.

1+A,. #hat is 2ile adapter,AD- Adapter in tibco( D ff -# /hem ?

CA7$ Adapter or 7ataba"e......#he @i%e adapter tran" er" i%e" into and o!t o :icro"o t $iD#a%k 9erver. #he @i%e adapter con"i"t" o two adapter"[ 1.a receive adapter and /.a "end adapter. CActive7ataba"e adapter to orac%e i%e adapter to i%e ormat" %ike di erent text i%e0doc etc

-, #hat is 2ile adapter,AD- Adapter in tibco( D ff -# /hem ?

A7$ adapter i" !"ed to tran" er b!%k o data rom the app%ication or 7ataba"e to other 7ataba"e. whi%e con i*!rin* the A7$ the <!b%ication9ervice ha" <_tab%e in which the "o!rce tab%e modi ied data i" tri**ered and thi" i" po%%ed into the me""a*in* %a&er. @rom the me""a*in* %a&er the 9!b"cription"ervice p!%%" the data and "tore" into the tar*et tab%e. And now the data "tored can be acce""ed b& di erent app%ication". =hen b!%k tran" ormation o data i" re3!ired we *o or A7$.

*CH!+ how to create adapters(how to connect adapters( and how to build( Answer
&o! can create adaptor b& !"in* core >ava.then a ter &o! have to pa"" the parameter thr! J:8 i%e.

-, how to create adapters(how to connect adapters( and how to build( Answer


adapter" can be created b& !"in* adapter97M activit&.thi" i" !"ed to deve%op c!"tom adapter".adapter" can be connected thro!*h me""a*in* %a&er",>m" or rv.

11+A,.what is soap( how to use soap(


9imp%e 6b>ect Acce"" <rotoco% !"ed to "end J:8 me""a*e" a%on* the network

-, what is soap( how to use soap(


"erver oriented app%ication protoca% it i" one o web "ervice" !"in* interner and techno%o*& it i" act a" "erver and c%ient ir"t de"i*n bw or one app%ication0 then it pa""ed to "oap "erver which recieve" the incomin* re3!e"t" via http or "oap or >m" then "er prox& decode" re3!e"t into ca%% the to app%ication "evice prox& i" encode"with rep%&

*, H!+what is global variables(

-lobal .ariables are the variables that are used anywhere in the project 'hese can be called or used across the process or sub process that is with in the project -lobal variables can be overridden at runtime
#here are 2 t&pe" o variab%e" 1. '%oba% Gariab%e"IIIIIthro!*h o!t the pro>ect , !"ed or con"tant". /. <roce"" variab%e"IIIIIActivitie" in the pro>ect where the variab%e" are de ined. 2. 9hared Gariab%e" IIIIII Acro"" m!%tip%e proce"" in"tance" , !"ed to "hare data.

-, what is global variables(

the"e variab%e" a%%ow" to "peci & con"tant" that can be !"ed thro!*ho!t the pro>ect. #he con"tant" can be "peci ied and chan*ed whi%e de"i*nin* and te"tin* &o!r pro>ect.

3, what is global variables(


*%oba% variab%e" are con i*!red once can be !"e thro!*h o!t the pro>ect it i" ca%%ed *%oba% variab%e" .

D, what is global variables(


'%oba% Gariab%e" are de ine or the va%!e which remain ix d!rin* who%e proce"".#he"e variab%eB" canBt be modi ied d!rin* proce"" exec!tion.

4,what is global variables(


'%oba% variab%e" a%%ow" &o! to "peci & con"tant" that can be !"ed thro!*ho!t the pro>ect. #he con"tant" can be chan*ed whi%e de"i*nin* and te"tin* &o!r pro>ect. we can a%"o "et di erent va%!e" or each dep%o&ment o &o!r pro>ect. we can add/edit the '%oba% variab%e" !"in* '%oba% Gariab%e ?ditor.

2, what is global variables(


*%oba% variab%e" are created b& de inin* them o!t"ide o a%% the !nction" inc%!din* the main in the pro*ram. #he common practice i" that a%% *%oba% variab%e" are de ined at the be*inin* o the pro*ram code be ore an& !nction. *%oba% variab%e" can be acce""ed rom an& !nction inc%!din* main !nction and other !"er de ined !nction". examp%e int x0&; /C '%oba% Gariab%eC/ main,. \ int a0b;/C%oca% variab%eC/ "tatement 1; "tatement /; . . . "tatement n; ]

15. wht is a spawn in call process (

when we check the "pawn in ca%% proce"" the ca%% proce""and the main proce"" which i" ca%%in* the ca%% proce"" r!n" a" "eparate thread".

1)+A,. #hat is the Difference between $%S &ueue reciever and $%S &ueue re&uestor(
Um" 3!e!e reciever i" re"pon"ib%e or con"!min* the me""a*e rom the U:9 in a 3!e!e. =hi%e U:9 3!e!e re3!e"tor i" "imi%ar to re3!"et rep%& in "oap. it wait" ro a rep%& in rep%&/to 3!e!e.

-, #hat is the Difference between $%S &ueue reciever and $%S &ueue re&uestor(
U:9 E!e!e receiver i" a "tarter activit&. )t "tart" a proce"" on the recipt o a me""a*e or the "peci ied U:9 3!e!e0 it i" %i"tenin* to.61 the other hand0 U:9 3!e!e re3!e"tor i" not a "tarter activit&0 it i" !"ed to "end a re3!e"t to a U:9 3!e!e and receive" a re"pon"e back rom the U:9 c%ient. #hi" activit& !"e" temporar& de"tination" to en"!re that rep%& me""a*e" are received on%& b& the proce"" that "ent the re3!e"t.

1*+A,. -y using whic -# palette we can create D- table(


9E8 7irect <a%%ete

-, -y using whic -# palette we can create D- table(


$& !"in* the H9E8 7irect activit& H in the U7$+ pa%ette

3, -y using whic -# palette we can create D- table(


9E8 7irect o U7$+ pa%ette

1.+A,. f there are two sub processes then how can we call at a time one sub process dyanmiccally by using call porcess(
)n ca%% proce"" we have an option a" <roce"" 1ame 7&namic 6verride0 thi" ie%d i" !"ed to determine d&namica%%& which proce"" to ca%% when the proce"" in"tance i" r!nnin*.$!t here both the "!b proce"" "ho!%d have the "ame inp!t0o!tp!t and error "chema.

-, f there are two sub processes then how can we call at a time one sub process dyanmiccally by using call porcess(
)n ca%% proce"" we have proce"" name d&namic override0 thi" he%p" !" to ca%% the "peci ic proce"" whi%e r!nnin*. @or ex: we have / "!b proce""e" in which whi%e r!nnin* ba"ed on "ome condition we are ca%%in* a "in*%e "!b proce"". ) e%"e +ondition can be *iven or 7&namic overridin*. etc.0$!t here both the "!b proce"" "ho!%d have the "ame inp!t0o!tp!t and error "chema.

10. 6nce we have deployed the ear file in /ibco admin, n which location the data7service7properties will store ?
) the in"ta%%ation o%der o tibco wi%% be in + director& then once we have dep%o&ed the ear i%e 0the in ormation wi%% be "tored in the o%%owin* %ocation. i domain name i" m&domain and pro>ectname i" #e"t6ne then 8o* i%e" : +:VtibcoVtraVdomainVm&domainVapp%icationV%o*" #e"t6ne.tra i%e :,it contain" a%% propertie". : +:VtibcoVtraVdomainVm&doaminVapp%icationV#e"t6ne 9ervice/<ro>ect :+:VtibcoVtraVdomainVm&domainVdata i%e"

11. 8ow can we import73opy the custom palettes into another pro!ect(
@ir"t ind the %ocation where the c!"tom pa%ette" are "tored,Ao! can chan*e/*et the path rom ?dit/<re erence"I!"er directorie"I("er <a%ette director& o de"i*ner window..6nce &o! o!nd the %ocation "imp%& cop& what are a%% the c!"tom pa%ette" &o! wi"h to !"e in other pro>ect and pa"te the c!"tom pa%ette" director& in another machine. 1ote : ) &o! are r!nnin* two pro>ect" in the "ame machine then &o! need not do the above proced!re .#he c!"tom pa%ette" wi%% a!tomatica%%& avai%ab%e to the other pro>ect which i" r!nnin* in the "ame machine. $& de a!%t c!"tom pa%ette" wi%% "tore in be%ow %ocation : +:V7oc!ment" and 9ettin*"V!"ernameV.#)$+6Vc!"tom_pa%ette"

"9. 8ow can we import73opy the custom palettes into another pro!ect(
+hoo"e <ro>ect IK )mport 5e"o!rce" rom @i%e0 @o%der0 (58 or "imp%e )mport in de"i*ner

"1+A,.8ow can we change Global variable deployment ( what is it defines(


=e can chan*e the *%oba% varaib%e" rom the +ommand prompt on the "erver.

-, 8ow can we change Global variable deployment ( what is it defines( 3, 8ow can we change Global variable deployment ( what is it defines(

+o!%d &o! p%ea"e "end me the proced!re/command to chan*e the *%oba% variab%e rom command prompt.

) wo!%d not enco!ra*e thi" b!t i &o! want &o! can add tibco.c%ientGar.T'GnameK=va%!e in the appname.tra i%e in Ttibco_homeK/tra/domain/Tdomain nameK/app%ication/app name director&.

D, 8ow can we change Global variable deployment ( what is it defines(


Ao! can chan*e the r!ntime variab%e" or a "ervice or proce"" I )n #)$+6 Admini"trator0 c%ick App%ication :ana*ement. 1. 9e%ect an app%ication and expand it. /. )n the +on i*!ration $!i%der pane0 c%ick a "ervice or proce"" name. A "ervice i" named with a .arr "! ix. A proce"" i" named with a .par "! ix. 2. +%ick the Advanced tab. 4. +han*e r!ntime variab%e" a" re3!ired. N. +%ick 9ave.

4,8ow can we change Global variable deployment ( what is it defines(

) knew thi" proced!re 5ah!%.Ao! can do the above or &o! can p%ace a%% the *%oba% variab%e" in on i%e a" be%ow tibco.c%ientGar.+onnection"/7ataba"e/7$1ame=)$#?9#11 tibco.c%ientGar.+onnection"/7ataba"e/7$6wner=##)$ tibco.c%ientGar.+onnection"/7ataba"e/7ataba"e(58=>dbc:db/:/<997$#:N1010/)$#?9#11 tibco.c%ientGar.+onnection"/7ataba"e/U7$+7river=com.ibm.db/.>cc.7$/7river tibco.c%ientGar.+onnection"/7ataba"e/8o*in#imeo!t=0 tibco.c%ientGar.+onnection"/7ataba"e/:axim!m+onnection"=10 And "ave the above i%e a" B i%ename.propertie"B and then need to add the o%%owin* in app%ication.tra i%e once &o! have dep%o&ed the ear i%e. tibco.env.A<<_A5'9= Ip i%ename.propertie". 5ah!% ) need the command to chan*e the va%!e orm command prompt a" &o! "aid ear%ier.

"". #hat is the purpose of $ob Shared variable or tell me about !ob shared variable(
A Uob 9hared Gariab%e a%%ow" &o! to "tore data or !"e b& each proce"" in"tance. A "eparate cop& o the variab%e i" created or each new proce"" in"tance. #hi" re"o!rce i" !"e !% or pa""in* data to and rom "!bIproce""e" witho!t creatin* an inp!t or o!tp!t "chema or the ca%%ed proce"". Ao! can !"e the 'et 9hared Gariab%e and 9et 9hared Gariab%e activitie" to acce"" the data in"tead o mappin* data to a ca%%ed proce""e" inp!t or o!tp!t "chema". 1ew proce"" in"tance" receive a cop& o the variab%e0 "o data cannot be "hared acro"" proce"" in"tance". 9cope o the >ob "hared variab%e i" with in the proce"" in"tance i.e the va%!e" which wa" "et in one proce"" in"tance 0can not be avaib%e in other proce"". ) >ob "hared variab%e in <roce"" de initionI1 "et to N then the "ame va%!e wi%% not exi"t in proce"" de inition I/ .#hi" mean" a "eparate cop& o in"tance i" maintained in each proce"" in"tance.

"'. #hat are the datatpes of Global varaibles which -# follows(


9trin*0)nte*er0$oo%ean0<a""word

"5+A,. #hat is meant by process conte:t varibale(


#here are two proce"" variab%e" that are avai%ab%e to a%% activitie" that accept inp!t: Z_*%oba%Gariab%e" and Z_proce""+ontext. Z_*%oba%Gariab%e" contain" the %i"t o *%oba% variab%e" de ined on the '%oba% Gariab%e" tab o the pro>ect. Z_proce""+ontext contain" *enera% in ormation abo!t the proce""0 "!ch a" the proce"" )70 the pro>ect name0 whether the proce"" wa" re"tarted rom a checkpoint0 and "o on.#hi" proce"" +ontext variab%e wi%% be created a!tomatica%%& whenever we create an pro>ect

-, #hat is meant by process conte:t varibale(


<roce"" +ontext variab%e i" a prede ined proce"" variab%e which i" avai%ab%e to a%% activitie" that accept inp!t. #hi" variab%e contain" *enera% in ormation abo!t the proce"" %ike the proce""id0 pro>ect name0whether the proce"" ha" recovered rom a check point etc

"). 8ow many types of Global vaibles are there in -#(

when creatin* a *%oba% variab%e !"in* the 'G editor ... we can "ee that the '%oba% Gariab%e" can be dec%ared a" 1."trin* 2.integer 3.password 4.boolean

"*.#hat are the types of encoding which -# follows(


)96OONPI1 ,8atinI1.[<re erred encodin* or pro>ect" that dea% on%& with ?n*%i"h and other =e"tern ?!ropean %an*!a*e" that be%on* to the )96 8atinI1 character "et. ) thi" encodin* i" !"ed or %an*!a*e" that do not be%on* to the 8atinI1 character "et ,"!ch a" Uapane"e0 Arabic0 etc..0 data %o"" ma& re"!%t. (#@IO[<re erred encodin* or pro>ect" dea%in* with %an*!a*e" not be%on*in* to the 8atinI1 character "et. #hi" inc%!de" mo"t %an*!a*e" except or ?n*%i"h and other we"tern ?!ro

"..how we can send data through adb adapter in tibco bw(


)n the "!b"cribe data rom adapter activit& in $= we can either !"e 1. 5G or /.U:9 to recieve data

"0. how we can send data through adb adapter in tibco bw(
Ao! create or con i*!re an J:8 9chema or the record &o! want to "end in the U:9 in &o!r pro>ect in $!"ine"" work" <roce""/Adapter0 then )t i" capt!red b& the E!e!e &o! created in &o!r me""a*in* "ervice in #)$+6 5G or ?:9. #hi" i" then con"!med b& the "!b"cribin* "ervice/adapter $= <roce""

"1. how to create global variables and if we create where do we have to use in the pro!ect (

'%oba% variab%e" provide an ea"& wa& to "et de a!%t" or !"e thro!*ho!t &o!r pro>ect. #here are "evera% wa&" in which the& can be !"ed. #ho"e can be created in the pro>ect panne% we wi%% have a tab name b& '%oba% variab%e" there we can "peci & the"e...

Q: %hat is a web service? ;xposing the functionality of system or an application through a standard based protocols such as http and jms is called webservice Q: #9!7 and service palettes differences? %hen you have to use multiple transports, use service palettes to build ur websevices, using soap activity you can configure only one transport Q: %hat are %#<" files? 'he functionality of webservice will be described in a descriptor file called %#<" %#<" represents a contract between the service re0uestor and the service provider Q: %hich one is faster #9!7 over JM# or #9!7 over :''7? #9!7 over JM# Q: what are the ways to write a web service and how do u write a web service? / believe there are , ways using soap activity, using services Q:what is the difference between abstract %#<" and concrete %#<"? !bstract %#<" consists of the structure of the message that isZ what operation, what is the input and what is the ouput %hereas in concrete %#<" has all the things that the abstract wsdl has in addition it has transport details Q: :ow to create a web service using 'ibco (% designer !: 1 ways of creating web services in 'ibco * #9!7 , #ervice 1 !uto #ervice Areation Q: %hat are different types of %#<" files and describe difference between them , types !bstract %#<" : it will be maintained by web service providers Aoncrete %#<" : /t will be maintained by web service clients Q: %hat are different web service styles M message encoding ? <ata 'ransport3Aall #tyle

O 'he web service must use the #9!7 over :''7 data transport mechanism O 'he web service call style must be either <ocument "iteral or >emote 7rocedure Aall H>7A+ ;ncoded Q: %hatNs difference between #9!7 ;vent source M #ervice activity %hen you have to use multiple transports, use services to build ur websevices, using soap activity you can configure only one transport Q: :ow to "oad (alance %eb services? /f both services can get access to the same 0ueue, then that would help (oth services can subscribe to the same 0ueue '/(A9 advertises the fact that 0ueues can be used for load balancing and that multiple processes can subscribe to the same 0ueue for such a purpose :ttp .3# #oap services 'o make you understand in simple way, :''7 parameters are hard coded can not be editable and not formatted or no external features, with soap you can do anything you want, because it is xml based activity Q: 2se of >etrieve >esource palette? /t can be used to serve the wsdl file of a #9!7 ;vent #ource to a Hhttp+ client Aonstruct a process like: :''7 >eceiver 8P >etrieve >esources 8P #end :''7 >esponse 4ow the %#<" file for a #9!7 service can be retreived using the http re0uest http:33[hostP:[portP3[pathP3[resource4ameP?wsdl where NpathN is the folder path to the #9!7 ;vent #ource process and Nresource4ameN is the name of the process ;xample : http:33purch:IIGG37urchasing3-et7urchase9rder?wsdl Q:<ifference b3w service pallete and soap pallete ? Q: :ow do you send exception back to web service consumer during run8time? Q: ;xplain about a service implementation which you did? Q: ;xplain the service flow? /s it possible to create3implement more than one interface using #ervice shared configuration activity ? )es, you can add interface and move on /n '/(A9 , weather the java code inside '/(A9 can contain Main Method or not ? then tel what is invoke method and how its differ from Main method ? %eather invoke method is default method for a java process ?

/t seems that (% uses reflection !7/ to create an instance of class and call the invokeH+ method 8ow can we run performance test on -# engine( )ou can check the time taken by each activity in the 'ibco administrator in the service instances of that process what is d7f b7w web services and S6A architecture( %eb service exposes an application to the client in the form of a service %hen several such services from different industries need to collaborate to provide a service to an end customer, it is called #9! #9! therefore is more complex what is the difference between service and soap pallete?in realtime which cases we are going for service? 'he #ervice resource allows you to create a web service that implements multiple operations offered over multiple transports where as #oap resource allows you to create a web service that implements single operation over single transport what is the difference between @#9!7 over JM#@ and @#9!7 over :''7@? #9!7 is a communication protocol for web services, JM# or :''7 is a transport protocol you can with #9!7 relay on, so you transport will go throgh the JM# or :''7 server 'here are #oap 9ver Jms means the transport you are using jms while u communicating web services soap over http means the transport you are using as http while communicating web services 2sing #9!7 over JM# gives you some advantages compared to :''7, specially related to reliability as you may use the persistence and acknowledgment features built in the standard 'he same applies if you need to establish asynchronous communication or need to use the load balancing features provided by JM# servers )ou can achieve this using http but the implementation would be much more complicated /f you do #9!7 over JM#, in fact you can do load balancing over :''7 re0uires additional hardware like /7 #prayers 8ow best you can create web services( * $irst <efine #chema a b c d e f g <rag 5M" #chema from 5M" 'ools palette <ouble click to open schema Ahange the root element name to what ever the application name #elect the content column and change it to elements Areate another element called re0uest >epeat the step d for re0uest element Areate another element called reply where as with #9!7

h >epeat the step d for re0uest element i 9pen a notepad create element string as follows elementLchild*?, elementLchild*? elementLchild1? j Aopy these elements in the content model colum Hmake sure you placed between HJelementsJ+ to either re0uest or reply, and choose globally defined option, it should like as follows HelementLchild*? , elementLchild,?+ k !dd what ever the elements that you re0uire for reply, or choose from the earlier created list , Areate !bstract %#<" a <rag %#<" activity from %#<" palette b 9pen that %#<" Hdouble click+, !dd two messages to the list and name as operationLre0uest and operationLreply c #elect operationLre0uest, add a element in part table d Ahoose element instead of type, Alick on the schema lookup and choose re0uest element that was created on #tep* e #elect operationLreply, add a element in part table f Ahoose element instead of type, Alick on the schema lookup and choose reply element that was created on #tep* g !pply and save h <rag port type to the wsdl i 9pen port type Hdouble click+ and add operation j select operation, add two elements on in the message table k for input choose, re0uest and for output choose reply l apply and save 1 Areate a :''7 connection a <rag :''7 activity from :''7 palette b specify the host and port name B Areate %ebservice a <rag a process from process palette b 9pen the process, <rag #oap event source and #oap #end >eply from #9!7 palette c #elect #oap ;vent #ource, /n configuration 'ab, "ink thep port type, %#<" 8 9peration created in #tep ,, "ink :''7 connection created in step 1 d !dd any business logic in between soap event source and soap send reply e apply and save D Areating Aoncrete %#<" a 'his is the %#<" is being used by third party application or clients b #elect #9!7 event source, click on %#<" source tab c >ight click Hmouse+ on that body , and select save as and store the %#<" in file directory F 'o /nvoke by third party applications

a #end this %#<" created in stepD G 'o 'est H/n <esigner+ a Ahoose /mport >esources or file in 7roject 'ab, b Ahoose the format to file type, and click on lookup button to impost the %#<" created in #tep D, and import the %#<" to designer c Areate a process d <rag #oap >e0uest !nd >eply from #9!7 7alette e Ahoose the %#<" that imported in step b in this #tep G g link all three activities, and test according to your need HMake sure to pass the details in #oap >e0uest >eply for the operation+ 4ote: 'hings to remember and learned * Aommon schema, one place to change all the elements , Make sure all host and port variables are part of global variables 1 $ollow the naming conventions as per the company standards or guide lines
INTERVIEW QUESTIONS

1.Diff b/w ADB and JDBC ADB: Event Driven JDBC: Demand Driven 2.Functionality Te tin! or Be"avioral Te tin!. #.$ er Acce%tance Te tin!. &.'erformance Te tin!. 1. ()AT i EA*+ A. T"e u e of middleware to inte!rate a%%lication %ro!ram , databa e , le!acy y tem involved in an or!ani-ation. critical bu ine %roce . /r EA* combine t"e tec"nolo!ie and %roce
2. ("y EA* t"ere are no. of a%%lication t"ere+ A. 1. To de%loy olution for bu ine %roce , we u ually "ave to %urc"a e a%%lication from different vendor , vendor ty%ically "ave t"eir own way of data format and communication %rotocol . 2. T"e a%%lication %robably run on multi%le com%uter , w"ic" may re%re ent multi%le %latform . #. Bu ine %artner or cu tomer may run ome of t"e a%%lication out ide of t"e enter%ri e.

e to e0c"an!e bu ine

level

information.

&. 1educe time and error . 2. *m%roved bu ine %roce e and increa ed cu tomer ati faction.

#. ("at i t"e difference between 13 and E45+ A. 1. 13 5u%%ort 6ava, c, c77, .net, com, %erl. E45 5u%%ort c, 6ava. 2. $ e Bu Arc"itecture $ e )ub and 5%o8e Arc"itecture. #. 4e 4e a!e level ecurity i not %rovided by 13. a!e level ecurity i %rovided by E45 a!in! modal .

&. 13 u e 1eliable, Certified and D9 me E45 u e To%ic and 9ueue me

a!in! modal .

2. 13 u ed for A ync"ronou communication. E45 u ed for a ync"ronou communication. :. ;e ecure, cannot create AC; <Acce Control ;in8=.

4ore ecure, %rovide AC; <Acce &. Tran %ort 5ervice + A. E45, 13. 2. ("at i A to A+

Control ;in8=.

A. A%%lication %ro!rammin! interface a e0%o ed by A%%lication function %rovided by individual a%%lication . >. ("at i 5/A' and (5D;+ SOAP -: Simple Object Access Protocol.

were utili-ed to inte!rate t"e

5im%le /b6ect Acce 'rotocol <5/A'= i a li!"twei!"t %rotocol for t"e e0c"an!e of information between web ervice . T"e 5/A' %alette allow you do t"e followin!:

create web ervice by u in! %roce definition !enerate (5D; file for web ervice client invo8e one?way, re@ue t/re%ly web ervice u e eit"er )TT' or J45 a t"e tran %ort for web ervice end or receive 5/A' re@ue t wit" attac"ment

WSDL-: Web Ser ice Descriptio! L"!#$"#e. T"e (5D; %alette i u ed for creatin!, editin!, validatin!, im%ortin!, and viewin! (5D; <(eb 5ervice De cri%tion ;an!ua!e= file . T"e e file are "ared re ource t"at de cribe web ervice . T"e (5D; %alette. re ource are u ed to create and reu e ab tract definition , namely:

me a!e , w"ic" de cribe t"e data bein! e0c"an!ed %ortTy%e , w"ic" define a et of o%eration and o%eration , w"ic" de cribe t"e activitie u%%orted by t"e web ervice

E0: 1eadin! a Data from a file and converted in to A4; format and end it to web 5ervice .
%W

("at i A A. A

i!n Activity+ i!n t"e value to t"e u er defined %roce variable .

i!n Activity u ed a

("at i 'ar e A4; and 1ender A4;+ T"e 'ar e A4; activity ta8e a binary A4; file or an A4; trin! and %roce ba ed on t"e A5D or DTD %ecified. e it, turnin! it into an A4; c"ema tree

T"e 1ender A4; activity ta8e an in tance of an A4; c"ema element and render it a containin! A4; or an A4; trin!. T"e c"ema i %roce ed ba ed on t"e A5D file %ecified. ("at i 5tarter Activity+ ("at i Blobal 3ariable + ("at i Tran ition+ A. Tran ition de cribe t"e flow of %roce ("at i Brou%+ A. To create et activitie t"o e are to be re%eated. in a %roce definition.

tream of byte

("at i c"ec8%oint+ A. C"ec8%oint i u ed to ave t"e %roce %roce . in tance data. T"i i u eful w"en t"e ome failure occur to

("at are 5"ared 3ariable , Job 5"ared 3ariable , and 'roce A. A 5"ared 3ariable re ource allow you to "are data acro

3ariable + %roce in tance .

A Job 5"ared 3ariable "ared confi!uration re ource allow you to tore data for u e by eac" %roce in tance

("at are t"e %arameter in JDBC+ A. Came of t"e "o t from w"ic" you want to acce name <5*D name=, u er name, %a word. t"e databa e, %ort number, Databa e

'arameter for J45+ A. $ er name, %a word, JCD* coneection factory, JCD* $1;, JCD* u er name, JCD* %a word, client *D.

'arameter for FT'+ A.)o tname, %ort number, u er name, %a word.

'arameter for )TT'+ A. )o tname from w"ic" you want !et re %on e, %ort number.

Cull Activity+ A. Cull activity u ed to connect two or more tran ition of an activity. Cull activity i activity wit" no action %reformed.

E&S

("at i durable+ A Durable ub criber mean if t"e ub criber i down w"en t"e %ubli "er end me receive t"e me a!e later w"en it i u%. E0clu ive and Con E0clu ive+ Delivery 4ode + A. 'er i tent, Con?'er i tent, T*BC/ E45 1eliable delivery. Ac8nowled!e 4ode + A. Auto, client, T*BC/ E45 E0%licit, Du% /D, Tran actional, T*BC/ E45 no ac8nowled!ement WIPRO A i!n Activity+ i!n Activity u ed a i!n t"e value to t"e u er defined %roce variable a!e t"en it will

A. A

Tran %ort 4ode and 'arameter + De%loyment+ FT' 'arameter + A.)o tname, %ort number, u er name, %a Brou% + A. To create et activitie t"o e are to be re%eated. word.

Cull Activity+ A. Cull activity u ed to connect two more tran ition of an activity. Cull activity i activity wit" no action %reformed ("at are t"e 5ervice in Tibco+ A. Bu ine %roce mana!ement, Bu ine o%timi-ation, Bu ine inte!ration, Enter%ri e Bac8bone.

Timer Activity+ A. Timer Activity i u ed to c"edule t"e %roce e .

J45 %arameter +
UNIVERSAL WIRE 'OR&ATS:

1.A4; me 2.13 me

a!e. a!e. a!e.

#. Active Enter%ri e me
TI%(O )"*+

T*BC/ )aw8 monitor enter%ri e


TI%(O %$si!essWor+s

and mana!e

di tributed a%%lication

and

y tem

t"rou!"out t"e

T*BC/ Bu ine (or8 i a calable, e0ten ible, and ea y to u e inte!ration %latform t"at allow you to develo% inte!ration %ro6ect . Web Ser ice:-

(eb ervice i an a%%lication or a%%lication com%onent t"at i and i intended to be u ed by anot"er a%%lication

acce

ible on t"e networ8

Web service description:?A (eb ervice de cri%tion i a mac"ine?%roce able document t"at de cribe t"e e0%ectation and functionality of a %articular (eb ervice, o t"at a %otential client can read t"e de cri%tion and under tand "ow to correctly interact wit" t"e ervice.

7aemon Ae" )n the ca"e o #)$+6 5endeDvo!" daemon r!nnin* on the "ame machine a" #)$+6 $!"ine""=ork" proce"" en*ine0 thi" i" not "peci ied. ) 5endeDvo!" i" r!nnin* on a di erent machine0 then the 7aemon ie%d i" "peci ied a" the remote ho"t name o%%owed b& the "ocket n!mber. @or examp%e: ssl:acct:'()' 1etwork Ae" #hi" ie%d contain" the ho"t name0 )< addre""0 network name0 or inter ace name. @or examp%e: *224.34.+,3.4 9ervice Ae" #hi" i" the #)$+6 5endeDvo!" "ervice name in one o the o%%owin* ormat": !service name> or !port number> ;o! :? 8o*" are "tored in the #)$+6 $!"ine""=ork" in"ta%%ation director& !nder the logs "!bdirector&. <a%ette" are !"ed to *ro!p con i*!ration ob>ect". TIBCO Designer

#)$+6 7e"i*ner i" an ea"& to !"e *raphica% !"er inter ace or creatin* inte*ration pro>ect". TIBCO BW #)$+6 $= "ca%ab%e exten"ib%e and ea"& to !"e inte*ration p%at orm that a%%ow &o! to deve%op dep%o& and r!n inte*ration prat orm". RV +: 1ame Ae" #he name o the de%iver&Itrackin* "e""ion. INTERVIEW QUESTIONS 1. Diff b/w ADB and JDBC ADB: Event Driven JDBC: Demand Driven 2. Functionality Te tin! or Be"avioral Te tin!. #. $ er Acce%tance Te tin!.

&. 'erformance Te tin!.

A%RIVATIONS 'B4: 'ra!matic Beneral 4ultica tin! $D': $ er Data!ram 'rotocol 5/A':5im%le /b6ect Ace 'rotocol

JCD*:Java Camin! and Directory *nterface Difference b/w E45 and 13+

13 *t i di tributed Arc"itec"ure Data Tran formed into 'ac8et ;oad Balancin!. E45 *t i client 5erver Arc"itec"ure Data Tranformed into 9ue and To%ic Cot load Balancin!. 1. ()AT i EA*+

A. T"e u e of middleware to inte!rate a%%lication %ro!ram , databa e , le!acy y tem involved in an or!ani-ation. critical bu ine %roce . /r EA* combine t"e tec"nolo!ie and %roce e to e0c"an!e bu ine level information.

2. ("y EA* t"ere are no. of a%%lication t"ere+ A. 1. To de%loy olution for bu ine %roce , we u ually "ave to %urc"a e a%%lication from different vendor , vendor ty%ically "ave t"eir own way of data format and communication %rotocol . 2. T"e a%%lication %robably run on multi%le com%uter , w"ic" may re%re ent multi%le %latform . #. Bu ine %artner or cu tomer may run ome of t"e a%%lication out ide of t"e enter%ri e.

&. 1educe time and error . 2. *m%roved bu ine %roce e and increa ed cu tomer ati faction.

#. ("at i t"e difference between 13 and E45+ A. 1. 13 5u%%ort 6ava, c, c77, .net, com, %erl. E45 5u%%ort c, 6ava. 2. $ e Bu Arc"itecture $ e )ub and 5%o8e Arc"itecture. #. 4e 4e a!e level ecurity i not %rovided by 13. a!e level ecurity i not %rovided by E45 a!in! modal .

&. 13 u e 1eliable, certified and D9 me E45 u e To%ic and 9ueue me

a!in! modal .

2. 13 u ed for ync"ronou communication. E45 u ed for a ync"ronou communication. :. ;e ecure, cannot create AC; <Acce Control ;in8=.

4ore ecure, %rovide AC; <Acce &. Tran %ort 5ervice + A. E45, 13. 2. ("at i A to A+

Control ;in8=.

A. A%%lication %ro!rammin! interface a e0%o ed by A%%lication were utili-ed to inte!rate t"e function %rovided by individual a%%lication .

:. )ow to De%loy a File in Admini trator+ >. ("at i 5/A' and (5D;+ SOAP -: Simple Object Access Protocol. 5im%le /b6ect Acce 'rotocol <5/A'= i a li!"twei!"t %rotocol for t"e e0c"an!e of information between web ervice . T"e 5/A' %alette allow you do t"e followin!: create web ervice by u in! %roce definition !enerate (5D; file for web ervice client invo8e one?way, re@ue t/re%ly web ervice u e eit"er )TT' or J45 a t"e tran %ort for web ervice end or receive 5/A' re@ue t wit" attac"ment

WSDL-: Web Ser ice Descriptio! L"!#$"#e. T"e (5D; %alette i u ed for creatin!, editin!, validatin!, im%ortin!, and viewin! (5D; <(eb 5ervice De cri%tion ;an!ua!e= file . T"e e file are "ared re ource t"at de cribe web ervice . T"e (5D; %alette. re ource are u ed to create and reu e ab tract definition , namely: me a!e , w"ic" de cribe t"e data bein! e0c"an!ed %ortTy%e , w"ic" define a et of o%eration and o%eration , w"ic" de cribe t"e activitie u%%orted by t"e web ervice

E0: 1eadin! a Data from a file and converted in to A4; format and end it to web 5ervice . T(S ("at i Admini trator+ A. Admini trator %rovide a web ba ed, intuitive mana!ement environment for de%loyin! runtime com%onent , for monitorin! runtime com%onent and admini terin! runtime environment. )ow to De%loy+ )ow to C"an!e Blobal 3ariable *n Admini trator+ )ow to Add 4ac"ine in Admini trator+ <Domain $tilitie ?? Add mac"ine . )ow to *ncrea e Cac"e 4emory+ )ow to Create $ er + )ow to 5ee t"e 'roce )ow to $%!rade+ A.T"e u%!rade feature rema% %ro%ertie in t"e %ro%ertie file to u e t"e new oftware tar!et ervice in tance and %roce en!ine Flow in Admini trator+

%W ("at i A i!n Activity+

A. A

i!n Activity u ed a

i!n t"e value to t"e u er defined %roce

variable .

("at i 'ar e A4; and 1ender A4;+ T"e 'ar e A4; activity ta8e a binary A4; file or an A4; trin! and %roce c"ema tree ba ed on t"e A5D or DTD %ecified. e it, turnin! it into an A4;

T"e 1ender A4; activity ta8e an in tance of an A4; c"ema element and render it a a tream of byte containin! A4; or an A4; trin!. T"e c"ema i %roce ed ba ed on t"e A5D file %ecified. ("at i 5tarter Activity+ ("at i Blobal 3ariable + ("at i Tran ition+ A. Tran ition de cribe t"e flow of %roce ("at i Brou%+ A. To create et activitie t"o e are to be re%eated. ("at i c"ec8%oint+ A. C"ec8%oint i u ed to failure occur to %roce . ave t"e %roce in tance data. T"i i u eful w"en t"e ome in a %roce definition.

("at i 5"ared 3ariable ,Job 5"ared 3ariable , 'roce

3ariable + %roce in tance .

A. A 5"ared 3ariable re ource allow you to "are data acro

A Job 5"ared 3ariable "ared confi!uration re ource allow you to tore data for u e by eac" %roce in tance ("at are t"e %arameter in JDBC+ A. Came of t"e "o t from w"ic" you want to acce name <5*D name=, u er name, %a word. 'arameter for J45+ A. $ er name, %a word, JCD* coneection factory, JCD* $1;, JCD* u er name, JCD* %a word, client *D. t"e databa e, %ort number, Databa e

'arameter for FT'+ A.)o tname, %ort number, u er name, %a 'arameter for )TT'+ A. )o tname from w"ic" you want !et re %on e, %ort number. Cull Activity+ A. Cull activity u ed to connect two more tran ition of an activity. Cull activity i activity wit" no action %reformed. )ow to u e ;o! File+ ("at i Active/%a ive in FT'+ RV word.

'ort Cumber + A. >2EE. Tran %ort 4ode + A. 1eliable, certified, D9. Do Command for 13+ A. tibrv end, tibrvli ten. E&S ("at i durable+ A Durable ub criber mean if t"e ub criber i down w"en t"e %ubli "er t"en id will receive t"e me a!e later w"en it i u%. E0clu ive and Con E0clu ive+ Delivery 4ode + A. 'er i tent, Con?'er i tent, T*BC/ E45 1eliable delivery. Ac8nowled!e 4ode + A. Auto, client, T*BC/ E45 E0%licit, Du% /D, Tran actional end me a!e

WIPRO A i!n Activity+ i!n Activity u ed a i!n t"e value to t"e u er defined %roce variable

A. A

Tran %ort 4ode and 'arameter + De%loyment+

FT' 'arameter + A.)o tname, %ort number, u er name, %a Brou% + A. To create et activitie t"o e are to be re%eated. Cull Activity+ A. Cull activity u ed to connect two more tran ition of an activity. Cull activity i activity wit" no action %reformed ("at are t"e 5ervice in Tibco+ A. Bu ine Bac8bone. %roce mana!ement, Bu ine o%timi-ation, Bu ine inte!ration, Enter%ri e word.

Timer Activity+ A. Timer Activity i u ed to c"edule t"e %roce J45 %arameter + e .

,ENSAR )ow FT' wor8 + JDBC Driver + ("at i 5tarter Activity in your 'ro6ect+ )(L )ow and to tart 13A and it Command + 13 %arameter and 4ode + 5yncronou and A ync"ornu + ("at i t"e E0%irty of t"e Data in 9ueue+ )ow to control ;oad+ 'er i tance and Con 'er i tance+ )ow to 1ead Different E0ten ion File + )ow $%load 'ar e A4; wit" Data format+ ("at function in A %at" u ed+ ("at i t"e Be t 'ractice in Tibco+ *f * end a "eavy data in @ueue w"at "a%%en + )ow to "andle Error + ("at i dynamic and 5tatic 9ueue+

TES(RA ("at are t"e 3ariable + ("at 'alett u ed in ur 'ro6ect+ Brou%in!+ E45 ty%e + J45 u%%ort )ow many 4e a!e +

("at i @ue and To%ic+

A((ENTURE ("at i 131D and 13CD+ Arc"itec"ure in Tibco+ 13 data Tran mi %W:Tran ition Ty%e + 3ariable + 'roce 3ariable + ion <'ac8et =

Benerate Error+ C"ec8 'oint+ *n J45 if t"e m ! i tran fer @ueue w"ile it i de troyed w"at will "a%%en + J45 u%%ort any certified 4e )ow to Create EA1 file + )ow to Te t Four 'ro6ect+ Admini trator 3iew + ("at i $AT+ ("at are different te tin! factor + )ow Tri!!er in 13 and B(+ UNIVERSAL WIRE 'OR&ATS: 1.A4; me 2.13 me a!e. a!e. a!e. a!e +

#. Active Enter%ri e me TI%(O )"*+ T*BC/ )aw8 monitor enter%ri e

and mana!e

di tributed a%%lication

and

y tem

t"rou!"out t"e

TI%(O %$si!essWor+s T*BC/ Bu ine (or8 i a calable, e0ten ible, and ea y to u e inte!ration

%latform t"at allow you to develo% inte!ration %ro6ect . Web Ser ice:(eb ervice i an a%%lication or a%%lication com%onent t"at i and i intended to be u ed by anot"er a%%lication acce ible on t"e networ8

Web service description:?A (eb ervice de cri%tion i a mac"ine?%roce able document t"at de cribe t"e e0%ectation and functionality of a %articular (eb ervice, o t"at a %otential client can read t"e de cri%tion and under tand "ow to correctly interact wit" t"e ervice.

4A : 4nterpriAe Application ntegration. #hy integration( 'o !ccomplish a 'ransaction !cross 'he ;nterprise 'o send and >eceive (usiness /nformation to 7artners and Austomers 4o one !pplication can #atisfies all re0uirements of an ;nterprise /ypes of ntegration::::BBBBBBBBBBBB 1.4A : ;nterprise !pplication /ntegration : #ap, 9racle ".- to - : Aommunicate with systems outside the organi&ation ;x: 4otify shippers, Aredit Aard !uthentication /nventory '.Data @evel+AD- adapters, : 'echni0ue of data moving between data stores ;x: 0uerying data from one or more table and writing to one or More tables, 5.%ethod @evel: #haring Methods ;xisting in applications ;x:!ccesing methods exposed in ;J(3!pplication #erver Application ntegration @evel: 2se !7/Qs provided by custom or packaged !pplications ;x:: #!7, 7eople#oft and (aan Advantages: ;ai load is shared across may systems and there is no single point of future, Middle ware features, Asynchronous 3ommunication:::: !n application or 7rocess makes a call or passes data to another application and continues its process without waiting for reply from the called application <isconnects after the call is made ;x: 7ublish3#ubscriber Synchronous 3ommunication::::: !n application or process makes a call or process data to another application and waits for reply Aonnection is not terminated until a reply received or 'imed out ;x: >e0uest3>eply /<C4S 62 %4SSAG >G D4@ D4E< %6D4S AE4:F * 2nicast

, Multi Aast 1 (road Aast ?nicast: pub7subs

1. one publisher publishes a message7data to the known Subscriber. ". if the message7data needs to besent to another subscriber, the data has to be sent again. '. when the subscriber doesnot receive the data then it is sent again, until it receives the data. 5. an inbo: name specify pointFpoint delivery and a uni&ue destination process. D two processors cannot share an inbo: name. %ulticast::::FF Cub7GSubscriber 9ne publisher publies a message to two or more known subscriber %hen subscriber doesnot receive the message it is sent again,until it receives the data -road 3ast::::FF 7ublish messages to more than one known32nknown subscribers %hen the subscribers using the message it is lost J not garanteed ;x: >adio (road Aast /84E4 AE4 ' /<C4S 62 % DD@4#AE4 %6D4@S: 1.-usF%odel7Distributed. ".8ubFSpoke %odel. '.%ulti 8ub %odel. -us %odel:FFFFFFFF 4; : tibco. t is distributed &ueue. 1.decentraliAed Architechure. ".>etwork -us acts as the %essage carrier './ruly Distributed middleware. 5. 3ommunication pattern is peer HtoF peer.

). %essages are &ueed by Cublisher. n a distributed Architechure every system works as a client and server. n this data has been distributed due to this load has been maintained e&ually. ".,8ubFSpace7clientFserver:::F 1.it is a centraliAed configuration. "./he hub acts like a server. '.the messages flow through the 8ub 5.All messages are &ueued in the server. ).3ommunication protocol is publisher to server and server to Cublisher. 4::$%S,#ebmethods. %ulti8ub:::F %ultiple 8ubs are timed together . @oad sharing. Crovide failFsafe service. 3omplete to 3onfigure and maintain. %essaging Standards::FFF 'he messaging standards are used by ;!> and b8to8( /ntegration 5M":;xtendable Markup "anguage ;</: ;lectronic <ata /nterchange >osetta 4et: #tandards for electronic industry /<9AQ#: /ntermediate <ocument8used bny #!7 9M-:9pen Management -roup #tandards 9!-:9racle !pplication -roup #tandards ?> D4ESA@ # E4 26E%A/S: 1.;%@ message. ".ED message. '. Active 4nterprise message. / -36 E4>D4=D6?S /he tibco Software suit consists of " components: 1.EendeAous Crogramming @anguage.+AC , ".EendeAus daemon

>ende&ous software eases distributed system development * <ecoupling and <ata /ndependence , "ocation 'ranspancency 1 >eliable <elivery of %hole messages B Aertified message delivery D <istributed Queue F $ault 'olerance 1,.D436?C@ >G::FFFFF Distributed system can be difficult to develop and maintain the components running on the network hosts are often tightly coupled. /his allows to decupled between components of a distributed system. ",.@ocation /ransparency::FF/he EendeAvous Software uses Sub!ect -ased Addressing /echnology to direct messaging to the destinations. /he Sub!ect >ame is ?> I?4. n this program process can communicate details. Default 8//C Cort: .)99 EDD,EDED .*99 EDA,@istenCort,/ibcoEDEDA /ransport. ?DC or CG% service members: .)99+/EDC, EDEAD .)99+CG%, .)95 +EDFft, fault /olerance. 'o create 'ibco >. certified Messages 'ibrcm 'ransport8AreateH+ E4>D4=D6?S DA4%6> >ende&vous daemon is background process for reliable and efficient network communications >ende&vous <eemon arranges the <etails of data transport, packet ordering, receipt ack,>etransmission re0uests, and dispatching information to the to the correct programme process 'he communication between two different >.<Qs using 2<7 protocol !pplication to >.< using 'A73/7 network protocol 'A73/7888 Aonnection oriented protocol 2<7:888Aonnection less protocol 2<p:L8882nified <atagram 7rotocol without coming network

2<7is faster than 'A73/7 protocol 'ibco company was built one of the protocol '><7 '><7: 'ibco >untime <atagram protocol 'he use of the '><7 protocol is /f the pallets are lost due to network $ailure 'his protocol keep the packets and will send again to the destination 'he '><7 to send the messages from source to destination 'his is having one of the object to send messages i e S'ransponsport 'he 'ransport is an 9bject having the 1 parameters: * #ervice , 4etwork 1 <eamon *+#ervice:8888>ende&vous daemeon process communication using 2<7 and 7-M #ervices #pecify services in 1 ways: * service name , 7ort 4umber 1 <efault /n default specify 42"" * 'he '><7 daemon offers the default services GDCC , 'he 7-M daemon offers the default service GDCC 2<7888for point Jto J7oint '><7888Multicast Aommunication >etwork Carameters::FF ;verynetwork transport object communicates with other transport object with network itconsists of 1 parameters * 4etwork , Multicast -roup 1 #end !ddress 'here are separated by aZHsemi column+ 1 DA4%6>:FF Iuality of Services

* >eliable 'ransport Message <elivery , Aertified 'ransport Message <elivery 1 <istributed 'ransport Message <elivery * +>eliable 'ransport J having certain limitation the data transfer between two machines havig time interval i e FC sec /f the receiver not received the data 'he sender can send the data until the receiver receives /t will resend the datawith the time limit , +Aertified 'ransport Messaging <elivery: >ende&vous Aommands:8 7gmrvd: 87ragmatic >ende&vous <eamon 7gmrvrd:87ragmatic >ende&vous >oute <aemon 7gmrvsrd :87ragmatic >ende&vous service routing daemn 7gmrvsd :87ragmatic >ende&vous service communication daemon >ende&vous !-;4' >.! :8 this command starts the rende&vous agent process >ende&vous agent is the gateway to the >. network for remote java applets .ersion G , I !dministrator must start the >. agent process explicitly "imit Aommunication (y #ubject name: point to point always pass through >.! messages Hinbox+

88>.a supports approximately BCCC clients through 'A7 Aonnections 88 !pproximately *DCC clients through :''7 connection "istener 7ort:8 'he >. creates 'A7 socket to establish Aommunication itself and java client 'he data 'A7 port is GFCC /mported subject:8 >.! imports messages from clients to the network ;xported subject: >.! edports messages from network to clients %e can remove subject name any time >. Aache:8 /t stores the data from recent messages /ndexed by subject name and automatically sends the cotched data to new listeners >.<: the command >.< stands the >ende&vous daemon process $or remote computers we must start it manually >.< :''7 default portno GDIC >.< 'A7 port GDCC if >.d starts automatically >.< ;xists after , min during which transports are connected to it no between

888?Pusing wildcardsHK or P+ $oreground: 888 it is available unix %hen present, rvd >untsteg:88>egister >ende&vous components as windows services >.>!<: H>ende&ous relay agent daemon+ >.>!< starts a rende&ous relay agent process stores certified messages for progmramms communication 'he relay agent is a process that that connect to the network

>.><:888#tarts >v secure routing daemon process !dministrative must start >.#>< by explicit command >.'race :888 is a network trace protocol monitor that speciali&es in >. protocols #ubject 4ames:88 ;ach subject name is a string of characters that is dev ided into elements by the dotH + K>. limits subject names to a total length of ,DDcharacters 'he "onger subject thatHmost+ programs can receive is *EF characters Maximum element length is *,G charactersHwith out + ;mpty string HS S+ is not a legal subject name #pecial characters in subject namesH ,P,K+ '/(A9 <;#/-4;>:88888 /t is a -2/ (y using this we can build the (usiness 7rocss use of 'ibco <esigner is to develop the #chemas '/(A9 (%:8888 'he 'ibco (% is a #calable, ;xtensible and easy to /ntigrate platforms !nd includes -ui #A!"!(/"/'):888.olume of data /ncreasing ;5';4<!(/"/'):888!dditional applications <;7"9)M;4':888 7rocess of uploading the ;!> files in !dministrator 7>9A;## .!>/!(";#T:888 !llow to access various data in the project * !ctivity 9utput , 7redefined 7rocess .ariables / -lobal 'he core

// 7rocess Aontext 1 ;rror: having general /nformation about process B 7redefined user depend #hared .ariables:888 !llows to access the data for use across multiple 7rocess /nstance 4%S $%S is based on creation J delivery of messages. %essages are structured data that one application, and sends the another. %essage 3reator is 3alled Croducer and the Eeceiver message is called 3onsumer. $%S supports two messaging %odels:FF

1. pointF"Fpoint ". publish J subscribe +topics, C6 >/F"FC6 >/ messaging has one producer and one consumer per message. /his style of messaging uses a &ueue messages until they are Eeceived. 4;3@?S D4:FF/he &ueue can be configured only one application to receive messages for a specific &ueue. >on 4;3@?S D4:FF are useful for balancing load of incoming messages across multiple receivers. C?-@ S84EBS?-S3E -4:::::FFFFFF %any publisher can publish to the same topic and a message from a single publisher can be received. -y many subscribers .subscribes are subscribe to topics and all messages are published on topic are received by all subscribers to the topic. /here can be a time dependency in the publish and Subscribe %odel. Subscribers receives the messages when they in Active. K$%S provide to 3reate durable subscription messages for a durable Subscriptions are stored on the server /he messages e:pire r the storage limit is reached. K n durable subscription data is placed in tibco server. Static7Dynamic Iueues +or, /opics::::

Destinations for messages can be either /opics +or, Iueues. A destination can be created statically in the server configuration 2iles+or, dynamically in the client application. S/A/ 3 Iueues +or, /opics:

3onfiguration information for static &ueues and /opics is stored in the configuration files for the /ibco 4%S server. /o change configuration information:

1.. /o message static destinations ". 4dit configuration files using a te:t editor . '. ?sing Administrator /ools. 5.?sing Administrator AC . Static &ueues and /opics are administrated by server. 3lient retrives the destination by $>D .

D<>A% 3 I?4?4S A>D /6C 3S: Dynamic Iueues and /opics are 3reated on the 2ly. -y application using &ueues session 3reate &ueue+, And /opic session 3reate/opic+,. Dynamic &uees and /opic are not appear in the configuration files. 4:ists as long as there are messages or customers on destinations. ?sing show &ueue+or, topic . Dynamic Iueue+ or , topic have an asteric+K, infront of their name in the list of topic +or, &ueue. Delivery %odes: 1.persistence. ".>on Cersistance. './ibco 4%S reliable Delivery. %essage /ypes: Acknowledgement %odes: Auto: Automatically Asks Dups 6k: Auto ask called as @aAy ask. 3lient: messages should conform. f not it creates new instance and sends. /ransactional:it is ask when transaction commits /ibco 4ms e:plicit: same as client. %4SSAG4S can be e:change with other message service.

Iueue can receive /ibco ED and /ibco Smart socket messages. /opic can either /ibco Ev or send /ibco SS Iueue can be set to 4:clusive and >on 4:clusive. %ore than one receiver can receive messages in non e:lusive &ueus.

$ms messages have a standard structure. header +re&uired, properties+optional, body+optional,

4:piratin property is set for destination. Server delivers messages instead of publisher. /his value is integer with ?nits. @egal units are see min,hours,days. 4:: 4:pirationL19min column units are absent. Aero is a special value which indicates that the messages to the destination never e:pire.

%A; Eedelivery:f Server is redelivering the messages. t is in nteger. i.e " to ")). #ild 3haracters +K,M,

/he wild card K means that any you cannot publish to wildcard topics. 2or subscribing the wildcord in topic. /here iw a matching in the configuration. AD% > S/EA/6E #hat is administrator( /ibco Administrator allows you to upload , deploy and monitoring tibco applications on machines that belong to administrator domain. t allows you to message. t provides the following modules allow managing users, resources and application. 1.user management: /o create users and roles aned assign then access rights to /ibco Administrator 3onsoles, applications and application repositories. ".Eesource %anagement:F /o manage /ibco Administrator software installed on other machines in the domain and monitor machines in the domain. '.Application %anagement:FFFAllows you to upload, deploy and monitor applications. <ou can start and stop the application service instances or process engines. AE38 /438?E4 6D4ED 4#::::FF/ibo Administrator consists administrator ,server, which may include optional components. of an

#ebF-rowser -ased: /ibco Administrator Domain:

t consists of it is a collection of users machines and services. /he Administrator domain is managed by the administrator server. #e can create multiple Administrator domain on the same machines. t consists of these elements. 1.Administrator server. "%achiens. '.?ser and Acess nformatin. 5.appplcationa configuration. ).Eun time Application *./ibco 8awk Agent.

?ser management:FF 1.how to create users: ?ser management 1.users. ".roles. '.security.

?sers new user General Cermissions: Application management:

username, pwd.

All applications new application upload ok deploy F ok.

G3onfiguraion :FF

DepolyF admin test process archive archiveBFFFF general,server setting, graceful,shutdown. Service instance: Select the particular numing process

sailu

process

ucrrent $dbc. General, bw process ,tracing,sercuty, /o see the process flow +or, @og files: /racingF search. 8ow to modifying Global Dariables:FFF 3onfigurationF advanced. 8ow to add machines in the Administrotor . n the domain utility there is option to add machines in that. /ibco Domain ?tility: addmachines select Select Admin /est . General,

%achine %ngmt selectF

KKDomain configuration: 3ategory Domain 3onfiguration /ask: 3reate a new administrator domain Add secondary server Delete an administrator server domain. 4nable: 8//CS KKServer setting: Server settings: change Ev parameters change domain crednails ldap configuration database configuration % GEA/ 6>: %igration: ?pgrade Domains from ).1 to )."

/ -36 4%S C@?G >: /ibco 4ms Clugin: Add /ibco 4ms server. Eemove /ibco 4%S server. ?pdate /ibco 4mS server. #eb service description:F A #eb service description is a machineFprocessable document that describes the e:pectations and functionality of a particular #eb service, so that a potential client can read the description and understand how to correctly interact with the service. =hat i" an Adapter? #o dep%o& the be"t "o%!tion or each a"pect o &o!r b!"ine""0 &o! !"!a%%& have to p!rcha"e app%ication" rom "evera% di erent app%ication vendor". (n ort!nate%&0 vendor" t&pica%%& have their own wa& to ormat and expo"e data. #here ore inte*ratin* the vario!" app%ication" acro"" &o!r enterpri"e po"e" "i*ni icant cha%%en*e". An adapter provide" a brid*e between an app%ication and &o!r #)$+6 )nte*ration environment. ("in* a noIcodin* approach to inte*ration0 #)$+6 Adapter" enab%e packa*ed app%ication"0 databa"e" and other techno%o*ie" to become active participant" in the enterpri"e in ormation %ow0 re*ard%e"" o their data ormat" or comm!nication protoco%". )nte*ration o new app%ication" doe" not re3!ire pro*rammin* "ki%%" and doe" not inter ere with exi"tin* )n ra"tr!ct!re. Adapter" i"o%ate the app%ication rom more comp%ex action". :e""a*e tran" ormation and b!"ine"" proce"" a!tomation can be hand%ed once the data i" p!b%i"hed to the #)$+6 in ra"tr!ct!re. A" "hown in the next dia*ram0 adapter" a%%ow data to be exchan*ed amon* di erent techno%o*ie". X Adapter" are avai%ab%e or o ItheI"he% app%ication" rom %eadin* vendor". ?ach adapter inte*rate" with at %ea"t one0 and !"!a%%& "evera%0 o the inter ace" expo"ed b& the vendor app%ication. X 7ataba"e adapter" enab%e an enterpri"eL" databa"e to initiate important b!"ine"" proce""e" ba"ed on exception data the& identi &. 7ataba"e adapter" a%"o make data avai%ab%e to the enterpri"e. X :ain rame adapter" enab%e rea%Itime two wa& comm!nication between them and the re"t o a companie"L b!"ine"" app%ication" and databa"e". X Adapter" can a%"o enab%e inte*ration with component or ob>ect deve%opment mode%" and other me""a*in* techno%o*ie". Adapter @or <acka*ed App%ication" 7ataba"e" 8e*ac& and :ain@rame +6:0 +65$A0U/?? and +!"tom 9&"tem"

T-BCO Business8orks '/(A9 (usiness%orks is a scalable, extensible, and easy to use integration platform that allows you to develop integration projects '/(A9 (usiness%orks includes a graphical user interface for defining business processes and an engine that executes the process /n '/(A9 (usiness%orks, adapter services are responsible for publishing or subscribing to business data in a decoupled yet reliable manner 'he business process receives data from an adapter service and routes data to an adapter service '/(A9 (usiness%orks provides the following activities for use with adapters: O 7ublish to !dapterX7ublishes data from the process to an adapter, which subscribes to data coming from the process and passes the data to the target application O !dapter #ubscriberX#ubscribes to incoming data published by the adapter O /nvoke an !dapter >e0uest8>esponse #erviceXAommunicates Has a client+ with an adapter re0uest8response service O !dapter >e0uest8>esponse #erverX#tarts a process based on the receipt of a re0uest from an adapter O >espond to !dapter >e0uestX#ends a response to an adapter for a previously received re0uest O %ait for !dapter MessageX%aits for the receipt of a message from the publication service of the specified adapter O %ait for !dapter >e0uestX%aits for the receipt of a re0uest from a re0uest8 response invocation service #ee TIBCO BusinessWorks Concepts for an introduction to the product <ro>ect" A pro>ect i" a named co%%ection o data0 !"!a%%& "chema data and con i*!ration data that i" per"i"tent%& "tored. ?ach pro>ect i" opened and "aved in m!%tiI i%e ormat0 which a%%ow" the pro>ect to be !"ed with a ver"ion contro% "&"tem. )t a%%ow" di erent deve%oper" to co%%aborate on a pro>ect and mer*e chan*e" a" needed. =hen a pro>ect i" read& to be dep%o&ed0 it can be created or exported in the o%%owin* ormat": ?nterpri"e Archive @i%e 8oca% 5epo"itor& 9erver 5epo"itor& Q)< Archive ?nterpri"e Archive @i%e An ?nterpri"e Archive i%e contain" in ormation abo!t the adapter in"tance" and proce""e" &o! wi"h to dep%o&. #he ormat i" !"ed with #)$+6 Admini"trator ?nterpri"e ?dition. #he ?A5 i%e i"

imported into ?nterpri"e ?dition where &o! can dep%o&0 "tart and mana*e the adapter in"tance on the machine" o &o!r choice. 8oca% 5epo"itor& A pro>ect exported to a %oca% repo"itor& i" "aved in .dat ormat. <ro>ect" "aved in .dat ormat "ho!%d on%& be !"ed or deve%opment and te"tin*. #he ormat can be !"ed where data i" not to be "hared b& more than one adapter. )t i" po""ib%e to have a ew %oca% adapter" acce""in* a %oca% pro>ect in readIon%& mode. )t i"0 however0 not po""ib%e to have more than one %oca% adapter acce""in* a %oca% pro>ect in read and write mode. 7ata are %oaded at "tart!p or %oca% pro>ect"0 "o a %oca% pro>ect ha" hi*her memor& re3!irement". 9erver 5epo"itor& A pro>ect exported to a "erver repo"itor& i" mana*ed b& a #)$+6 Admini"tration 9erver r!nnin* in a "eparate proce""0 t&pica%%& e%"ewhere on the network. 6ne or more adapter" can comm!nicate with a pro>ect mana*ed b& an Admini"tration 9erver. ?ach can "!pport m!%tip%e pro>ect". An Admini"tration 9erver i" identi ied b& a name that m!"t be !ni3!e amon* a%% admini"tration "erver" on a network. #he "erverIba"ed mode o operation i" "ca%ab%e and *enera%%& recommended or prod!ction "it!ation". 9erver repo"itorie" a%%ow m!%tip%e "im!%taneo!" write operation" with %ockin*0 a!tomatic !pdate" o c%ient"0 and noti ication. 7ata are %oaded on demand or "erverIba"ed pro>ect". Q)< Archive A pro>ect exported to a Q)< archive i" written to the %ocation &o! "peci & a" a readIon%& Q)< i%e. A pro>ect exported a" a Q)< archive can be imported into #)$+6 7e"i*ner. Ger"ion +ontro% #)$+6 7e"i*ner a%%ow" m!%tip%e deve%oper" to work on the "ame pro>ect and to !"e i%e "harin*/%ockin* or a ver"ion contro% "&"tem "o that the "ame re"o!rce i" not chan*ed b& two deve%oper" at the "ame time. 7i erent !"er" can then add re"o!rce" to the pro>ect and %ock the part" o the pro>ect the& are workin* on. ^ #)$+6 7e"i*ner create" a i%e that can be "hared and %ocked or each topI%eve% re"o!rce0 "!ch a" an adapter con i*!ration. )t doe" not create a i%e or each re"o!rce. A" a re"!%t0 or examp%e0 &o! can %ock an adapter con i*!ration b!t cannot %ock individ!a% adapter "ervice". =hen an adapter "ervice i" con i*!red0 the adapter create" a corre"pondin* "et "chema i%e". A warnin* i" di"p%a&ed when the i%e" are created advi"in* &o! to add the i%e" to &o!r ver"ion contro% "&"tem. Ao! m!"t add the i%e" to &o!r ver"ion contro% "&"tem and en"!re the& are checkedIin0 otherwi"e &o!r pro>ect wi%% not be mana*ed correct%& b& the ver"ion contro% "&"tem. #)$+6 7e"i*ner a%"o create" o%der" or o%der" &o! create in &o!r pro>ect. Ao! can %ock each o%der a" needed. how to create adapters(how to connect adapters( and how to build( #)$+6 hava di erent adapter" or di erent app%ication with di erent adapter" tho"e are Active7ataba"e adapter to orac%e i%e adapter to i%e ormat" %ike di erent text i%e0doc etc :E "erie" adapter to main rame with !"in* web"hpere 5/2 adapter or 9A< how to create adapters(how to connect adapters( and how to build(

i dont know brie %& abt thi"0b!t i wi%% *ive "ome in ormation0we cannot create adapter"0we m!"t in"ta%% adapter" which we re3!ired.we have "o man& adapter" "!ch a" "ap0m3"erie"0adb0 "iebe%0peop%e"o t etc..........we m!"t in"ta%% re3!ired adapter" or o!r pro>ect. -ow can we connect mean"0 a ter in"ta%%in* the re3 adapter we can !"e the activitie" provided b& tht adapter. how to b!i%d mmean" i cant *et !r 3!eation".

:eneral <uestions
How can - determine t%e source of a problem or an error? )n "ome ca"e" it i" he%p !% to t!rn on 67$+ tracin*. Activate tracin* in Control Panel>ODBC Data Sources on the Tracing tab. @or detai%"0 "ee &o!r :icro"o t =indow" doc!mentation. How can - find t%e version number of an adapter instance? A banner di"p%a&" when an adapter in"tance "tart". #he banner %i"t" component ver"ion" or the adapter and or #)$+6 Adapter 97M "o tware. Ao! can !"e thi" in ormation to dia*no"e compatibi%it& i""!e"0 or to report an& prob%em detai%" to +!"tomer 9!pport. Ao! can a%"o di"p%a& ver"ion in ormation in #)$+6 7e"i*ner b& c%ickin* the Help>Runtime Environment men! command. 8%) is a database trigger error not logged in t%e e+ception table? =hen !"in* an adapter in"tance a" a p!b%i"her0 i an error occ!r" in the databa"e tri**er that i" !"ed to cop& data rom the "o!rce tab%e to the p!b%i"hin* tab%e0 the databa"e tri**er error wi%% not be %o**ed in the exception tab%e or the "!b"criber adapter. How s%ould t%e adapter react if t%e database connection is lost and t%e database is later restarted? .oes it automaticall) tr) to reconnect? ) #)$+6 Adapter or Active7ataba"e detect" it ha" %o"t it" databa"e connection0 it "h!t" down. Ao! can con i*!re the adapter or a!tomatic reconnection ,"ee 5!nItime +onnection #ab.. A%ternative%&0 #)$+6 -awk r!%e" can be written to detect thi" and re"tart the adapter whenever thi" occ!r". 'ust an incoming message contain all t%e columns t%at are defined for t%e destination table? #he incomin* me""a*e need not contain a%% the co%!mn" de ined in the de"tination databa"e tab%e. Ao! can con i*!re the adapter to expect on%& a "!b"et o the co%!mn"0 de ined in the repo"itor&. #he adapter i" driven rom the "!b"cribin* c%a"" de"cription and wi%% iterate thro!*h the attrib!te" in the c%a"" de inition or the "!b"cribin* tab%e and "peci ica%%& %ook or tho"e attrib!te" in the incomin* me""a*e". )t in"ert" 1(88" or the attrib!te" that it i" expectin* b!t doe" not ind in the me""a*e. ) there are more co%!mn" in the "!b"cribin* tab%e than are %i"ted in the "!b"cribin* c%a"" ,"et when addin* a "!b"cription.0 tho"e extra co%!mn" wi%% *et whatever de a!%t va%!e" were "peci ied d!rin* the tab%e creation. Can an e+isting table be used as t%e publis%ing table? 1o. #)$+6 Adapter or Active7ataba"e re3!ire" additiona% co%!mn" in the p!b%i"hin* tab%e. ?ven when ever& ie%d in a tab%e i" p!b%i"hed0 a "eparate p!b%i"hin* tab%e i" re3!ired. .oes t%e T-BCO !ende*vous message t%at is publis%ed %ave to contain ever) field in t%e publis%ing table? Ae". Ao! can contro% which ie%d" are copied to the p!b%i"hin* tab%e b& con i*!rin* the adapter and b& chan*in* the p!b%ication tri**er to p!b%i"h a "!b"et o row". Ao! can a%"o append additiona% ie%d" to a me""a*e or drop a me""a*e ba"ed on "ome criteria !"in* the !"er ca%%o!t %ibrar&. @or more in ormation on the !"er ca%%o!t %ibrar&0 "ee ("er +a%%o!t 8ibrar&. -f multiple updates occur between polling intervals7 are updates publis%ed in multiple T-BCO !ende*vous messages or a single large message? ) &o! are !"in* publish b- value0 a #)$+6 5endeDvo!" me""a*e i" created or each individ!a% !pdate. ) &o! are !"in* publish b- re.erence0 that operation wi%% *et the %a"t !pdate. -s it possible to delete older entries in t%e publis%ing table? Ae". =hen a row i" p!b%i"hed0 the va%!e o the A7$_8_7?8)G?5A_9#A#(9 ie%d in the p!b%i"hin* tab%e chan*e" to either / ,comp%ete. or 0 , ai%ed.. Ao! can write a tri**er in &o!r p!b%i"hin* tab%e that de%ete" the row when the de%iver& "tat!" chan*e" to / or 0. Ao! can a%"o p!b%i"h data direct%& rom the "o!rce tab%e b& con i*!rin* the adapter in"tance to p!b%i"h b& re erence. A p!b%i"hin* tab%e i" created0 b!t it contain" on%& re3!ired ie%d" and ke& ie%d" o the "o!rce tab%e. How does t%e e+ception table work?

$e ore "tartin* an adapter in"tance0 &o! m!"t "et the adb.use12ceptTable option in the adapterL" propertie" i%e to on and "peci & an exception tab%e when con i*!rin* the adapter in"tance. ) an error occ!r" when in"ertin* data into the de"tination tab%e0 it wi%% be in"erted into the exception tab%e. #he tran"action wi%% be committed and a con irmation "ent back or the me""a*e ,5G+: de%iver&.. ) the in"ertion into the exception tab%e a%"o ai%"0 an error me""a*e wi%% di"p%a& and the adapter in"tance wi%% terminate. Can an adapter instance be used to replicate binar) t)pes7 suc% as BLOB? #here i" on%& %imited "!pport or binar& %ar*e ob>ect ,$86$. data t&pe". 6rac%e 861' and 861' 5A= t&pe" are "!pported in topI%eve% tab%e" when the adapter i" con i*!red to p!b%i"h b& re erence. 6rac%e $86$ and +86$ data t&pe" are "!pported. Can an adapter instance write to tables t%at belong to a database account different from t%at used b) t%e adapter? Ae". A "o!rce tab%e or de"tination tab%e can be%on* to a di erent databa"e !"er than the de a!%t acco!nt created in create&user.s3l. @or more in ormation0 "ee 5e erencin* ?xterna% 9chema". Can a publis%er adapter and a subscriber adapter use different pro=ects? Ae"0 !n%e"" the p!b%i"her adapter i" con i*!red to !"e parentIchi%d re%ation"hip". Can T-BCO Adapter for Active.atabase guarantee e+actl) once deliver) of messages over !>C'? ?xact%& once de%iver& o me""a*e" over 5G+: i" not c!rrent%& *!aranteed. #he "ame 3!a%it& o "ervice that 5G+: provide" i" "!pported0 which i" at %ea"t once. #o *et exact%& once de%iver& re3!ire" combinin* the me""a*in* operation" and the databa"e operation" in a "in*%e atomic tran"action0 which i" not "!pported in 5G+:. 8%at guarantees does t%e adbagent make wit% regards to t%e order of database operations? For instance7 is it guaranteed t%at for a given table7 modifications are made in t%e same order t%at t%e) were made to t%e source database? 8%at guarantees are made for operations across different tables? #)$+6 Adapter or Active7ataba"e *!arantee" that or databa"e operation" that are p!b%i"hed on the sa)e "!b>ect0 the order o the operation" i" pre"erved. ("!a%%&0 thi" app%ie" to databa"e operation" made to one tab%e. )t doe" not !"!a%%& app%& to databa"e operation" acro"" di erent tab%e". 8%en using !>C' for deliver)7 at w%at point does t%e subscribing adapter acknowledge an incoming message? A #)$+6 Adapter or Active7ataba"e "!b"criber con irm" the me""a*e on%& a ter the databa"e operation i" committed. ) there i" an error and no exception tab%e i" !"ed0 the databa"e operation i" ro%%ed back and no con irmation i" "ent. ) there i" an error and an exception tab%e i" !"ed0 the in"ert to the exception tab%e i" committed and the me""a*e i" then con irmed. B) maintaining t%e publis%ing tables7 all c%anges to t%e source table can be captured# -f7 %owever7 t%ere is a failure between t%e point of publis%ing a message using !>C' and updating t%e publis%ing table7 will t%e adapter republis% t%e message t%at %as alread) been sent? Ae"0 the me""a*e wi%% be rep!b%i"hed and the "!b"criber wo!%d have to dea% with the d!p%icate me""a*e. For t%e subscriber adapter7 if failure occurs after doing a database update and before sending an acknowledgement back to t%e publis%er adapter7 can t%e restarted configuration be prevented from redoing t%e update operation? 1o. #hi" wo!%d ca!"e a d!p%icate in"ert. For a certified subscriber adapter7 if an insert e+ception occurs and no e+ception table is specified7 w%at %appens? ) the tibco.client4ar.5irTrace option i" "peci ied in the adapterL" propertie" i%e when the adapter i" "tarted0 exception hand%in* in ormation i" written to the %o* i%e and the con i*!ration contin!e" to r!n. 9ince the in"ert co!%d not be per ormed0 the 657&8&518941R:&ST6T;S p!b%i"hin* tab%e co%!mn ha" a va%!e o P or the me""a*e. How do - pre/register non/T-BCO Adapter for Active.atabase subscribers7 like custom adapters7 to ensure no messages are lost? 9peci & the /< na#e o the %i"tenerL" 5G+: "e""ion

T%e session names are automaticall) created# Can t%ese be c%anged7 wit%out confusing T-BCO Adapter for Active.atabase7 so t%at we can use a standard naming convention t%roug%out t%e entire integration process? 1o0 the "e""ion name" are ixed and !"ed b& #)$+6 Adapter or Active7ataba"e interna%%&. #he& cannot be a%tered. 8%at?s t%e proper wa) to permanentl) remove an adbagent subscriber w%en using C'? One wa) is to completel) !&'O>& t%e publis%er?s ledger and to c%ange all ?P? records back to ?9?7 t%en restart t%e publis%er# -s t%ere a better7 more correct or automated met%od? #here i" a #)$+6 -awk method0 unRegister8istener=>0 which !nre*i"ter" a +: "!b"cription. #hi" i" the proper wa& to remove the adba*ent "!b"criber a" a +: %i"tener. -s it possible to run an adapter instance using a remote T-BCO !ende*vous daemon? Ae". +han*e the de a!%t "ettin*" or network0 "ervice0 and daemon parameter" or the adapter !"in* #)$+6 7e"i*ner. -s it possible to run two configurations of t%e adapter on t%e same mac%ine? )tB" po""ib%e to r!n m!%tip%e con i*!ration" o the adapter on the "ame machine i each adapter in"tance ha" a !ni3!e name. ) both con i*!ration" !"e #)$+6 5endeDvo!" certi ied me""a*in*0 each m!"t !"e a di erent 5G+: "e""ion. Can an adapter instance collate information from several database tables to send as a single T-BCO !ende*vous message7 or can it onl) publis% data from a single table7 in t%e format defined b) t%at table? #here are two wa&" to p!b%i"h re%ated tab%e": 9et the adb.publish/hild5ata option to on when con i*!rin* the adapterL" propertie" i%e. =hen there are in"ertion" into parent tab%e0 the adapter wi%% p!b%i"h parent row" and the corre"pondin* ;chi%d row" !"in* #)$+6 Active?nterpri"e or J:8 ormat. 1ote that the adapter c!rrent%& doe" not "!pport p!b%i"hin* chi%d data in the #)$+6 5endeDvo!" :e""a*e ormat. (pdate and de%ete on parentIchi%d re%ation"hip when p!b%i"hin* i" a%"o not "!pported. 9ee <!b%i"her 6ption" #ab. ;+ombine "evera% tab%e" into one tab%e !"in* a tri**er and then p!b%i"h rom the combined tab%e. =hen p!b%i"hin* or "!b"cribin*0 an adapter in"tance a%%ow" &o! to chan*e the me""a*e !"in* the ca%%o!t %ibrar&. 9ee ("er +a%%o!t 8ibrar& or detai%". 8%) does T-BCO .esigner displa) a @ava e+ception error w%ile -?m tr)ing to use T-BCO .esigner t%roug% &+ceed? =hen !"in* ?xceed to "im!%ate an J =indow" environment0 "tart the J =indow" "erver in the ?xceed 9e""ion 9tart!p App%ication. )n thi" app%ication0 make "!re the Run ? server checkbox i" "e%ected0 then tr& #)$+6 7e"i*ner a*ain. 8%en m) )base transaction log becomes full7 t%e adapter %angs# How can - fi+ t%is problem? =hen a 9&ba"e tran"action %o* become" !%%0 i the databa"e "ettin* abort trans on log .ull i" "et to a%"e0 &o!r app%ication wi%% han* in"tead o printin* a tran"action %o* !%% error. ?xec!te the o%%owin* command: sp_dboption dbname, "abort tran on log ull", true

!eAuest/!esponse <uestions
8%en using reAuest/response7 can an -9 &!T statement wit% values onl) Bwit%out field namesC be sent to t%e improve applicationDs performance#? Ae" thi" i" a%%owed. Ao!r app%ication can a%"o "end )19?5# "tatement" witho!t the bind". Can an application send ;P.AT& statements to a subscriber adapter wit% onl) t%ose fields w%ic% are being updated? T%at is7 if a table %as ten records and onl) two s%ould be updated7 can an ;P.AT& statement be constructed and sent onl) for t%ose fields? Ae"0 thi" i" "!pported. .oes an adapter instance send responses back as one large message wit% all rows in it or is t%e message sent in c%unks? #he adapter "end" re"!%t" back to an app%ication a" one %ar*e me""a*e. -f a failure occurs w%en doing an insert or update7 w%at is returned to t%e application? ) an error occ!r" whi%e the adapter i" proce""in* a re3!e"t0 an error code and de"cription i" ret!rned to the app%ication. )n the ca"e o "!cce""0 a re"!%t "et and row co!nt i" ret!rned to the app%ication.

You might also like