Wednesday, April 30, 2008

TIBCO BusinessWorks Sample Questions

Tibco makes integration server software for enterprises. An integration server allows a company to mix packaged applications, custom software, and legacy software for use across internal and external networks. Tibco's patented approach is called Information Bus (TIB)

-->what is tibco and where to we use tibco?
TIBCO -> THE INFORMATON BUS
tibco is used for
to integrate application system .
tibco is integration tool or it is a middleware tool

-->Explian the TIBCO architecture?
TIBCO’s main architecture is based on an information-bus oriented system concept. Whereas all the information that is used by the multiple systems passes through one information-bus. Tibco commonly refers to this information-bus as the “TIB”.


--> Business Works (B W)

The TIBCO BusinessWorks integration platform enables companiesto rapidly integrate systems and automate business processes.TIBCO BusinessWorks supports your integration projectthroughout the project lifecycle. It includes a commongraphical user interface for adapter configuration, processdesign, and deployment. User administration, componentmanagement, and processmonitoring are available via a webbrowser based GUI.
BusinessWorks components

-->BusinessWorks consists of TIBCO Administrator, TIBCO Runtime Agent, BusinessWorks Engine, and TIBCO Designer

-->TIBCO Designer

TIBCO Designer is a GUI tool for designing your business process integration. It is used for adapter configuration, process design, test, and deployment. TIBCO Designer is a component of TIBCO BusinessWorks. --

-->Overview of Variables

There are several types of variables in TIBCO Business Works, each with their own purpose and usage. TIBCO Business Works provides the following types of variables:
Global Variables — these variables allow you to specify constants that can be used throughout the project. The constants can be specified and changed while designing and testing your project.
Process Variables — these variables allow you to access various data in your project.
Shared Variables — these variables allow you to specify data for use across multiple process instances. Because multiple process instances can access the same variable, you can also synchronize access across processes when setting or retrieving the shared variable

-->What is an activity?

An activity is an individual unit of work within a process definition in the TIBCO Designer. Activities are operations that interface with external systems or perform internal processing. Activities are available on the various palettes in the TIBCO Designer, e.g. an AE adapter palette contains AE publish activity, AE subscription process starter activity, and AE respond activity.

-->What is TIBCO Designer?

TIBCO Designer is a GUI (graphical user interface) tool for designing your business process integration. It is used for adapter configuration, process design, test, and deployment. TIBCO Designer is a component of TIBCO BusinessWorks.

-->What is a transition?

A transition is an arrow on a process definition between activities. Transitions describe the flow of processing. An activity in a process definition must have a transition to it, or the activity is not executed when the process executes.

-->What is TIBCO Administrator?

TIBCO Administrator is a browser-based interface used for monitoring and managing resources in a TIBCO Domain.


-->What is a TIBCO Domain?

Domain is a collection of hardware and software components that are used for business process integration. The domain defines the TIBCO BusinessWorks environment. Each domain must contain one and only one administration server. Each domain must have a unique domain name. Each domain may contain one or more machines but no single machine can belong to multiple domains. Each machine may have more than one type of software component (BusinessWorks process engine, ActiveEnterprise 4.2 Adapters, etc.) installed. By definition, software components can only be deployed in the same domain that the machine belongs to.



1.What are the modes of TIBCO BW Installations ?

* GUI mode
* Console mode
* Silent mode

2.If you have installed a particular version of TIBCO software e.g. TIBCO BW X.Y.Z, What are X, Y and Z number stands for?

Integration can be at different application layers:

* X:Patch
* Y:Major
* Z:Minor

3.What is the role of TRA?

TRA stands for TIBCO Runtime Agent.
The TRA has two main functions:

* Supplies an agent that is running in the background on each machine.
1. The agent is responsible for starting and stopping processes that run on a machine according to the deployment information.
2. The agent monitors the machine. That information is then visible via TIBCO Administrator.
* Supplies the run-time environment, that is, all shared libraries including third-party libraries.

4.What are the resources that gets included in the EAR file, created by the TIBCO Designer?

An EAR file can contain local project resources, LibraryBuilder resources, and files as specified in AliasLibrary resources. In addition, the TIBCO Designer classpath may include references to other files that are included in the EAR file.
TIBCO EAR file

5.What are the revision control system options available in TIBCO designer?

* File sharing
* Perforce
* XML Canon
* ClearCase
* iPlanet

5.1 What are the 4 main panels of the Designer window ?

The 4 main panels of the Designer window are

* Project panel
* Palette panel
* Design panel
* Configuration panel
6.What are the different modes of service invocation?

Services can be invoked in several ways.

* A one-way operation is executed once and does not wait for a response.
* A request-response operation is executed once and waits for one response. In a request-response service, communication flows in both directions. The complete interaction consists of two point-to-point messages—a request and a response. The interaction is only considered complete after the response has arrived.
* Publication (notification) means an operation sends information on an as-needed basis, potentially multiple times.
* Subscription means incoming information is processed on an as-needed basis, potentially multiple times.

6.1 How do you determine if there are broken references in the project?

Project -> Validate for deployment

7.What is vcrepo.dat?

TIBCO Designer creates a file named vcrepo.dat in the project root directory when you first save the project. This file is used to store properties such as display name, TIBCO Rendezvous encoding, and description. This file can be used for identification in place of the project root directory and can be used as the repository locator string (repoUrl).

7.1 What are the uses of grouping activities ?

Uses of grouping activities are:

* Create a set of activities having a common error transition.
* Repeat group of activities based on a condition.
1. - Iterate over a list.
2. - Repeat until condition true.
3. - Repeat on Error until condition true.
* Group activities into a transaction.
* To create a critical section area that synchronizes process instances.
* A 'Pick First Group' allows you to wait for the occurence of multiple events and proceed along a path following the first event to occur.

8.What are the TIBCO BW activities that can participate in transactions?

Not all TIBCO BusinessWorks activities can participate in a transaction. Only the following types of activities have transactional capabilities:

* JDBC activities
* JMS activities
* ActiveEnterprise Adapter activities that use JMS transports
* EJB activities
* TIBCO iProcess BusinessWorks Connector activities

8.1 What activity can be used to set the value of a 'User defined process variable' ?

The 'Assign' activity can be used to set the value of a 'User defined process variable'.

9.What are the different types of Transactions TIBCO provides?

TIBCO BusinessWorks offers a variety of types of transactions that can be used in different situations. You can use the type of transaction that suits the needs of your integration project. When you create a transaction group, you must specify the type of transaction. TIBCO BusinessWorks supports the following types of transactions:

* JDBC
* Java Transaction API (JTA) UserTransaction
* XA Transaction

10.What activities are supported in JTA Transaction?

The Java Transaction API (JTA) UserTransaction type allows:

* JDBC
* JMS
* ActiveEnterprise Adapter (using JMS transports)
* EJB activities

to participate in transactions.

12.What are the possible Error output's of Read File activity?

Integration can be at different application layers:

* FileNotFoundException :Thrown when yhe file does not exist.
* UnsupportedEncodingException:Thrown when the text file’s encoding is not valid and the content of the file is read into process data.
* FileIOException :Thrown when an I/O exception occurred when trying to read the file.

13.What are the encodings supported by designer ?

Encodings supported by designer are

* ISO8859-1(Latin-1)
* UTF-8

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

The scope of user defined process variables is only the process in which it is defined.

15. What is difference between shared variable and job shared variable ?

*

Both of them can be manipulated via the palette resources 'Get shared variable' and 'Set shared variable'.
*

A job shared variable is private to one instance of job or in other words each job has a fresh copy. In the case of shared variable the same copy is shared across all job instances. It can even be persisted and can survive BW engine restarts and even shared across multiple BW engines(when deployed using DB persistence).


17. Question:
What is the difference between Tibco Rendezvous and TIB EMS when to prefer which one?

Answer: tibco rv is mostly used where u got to send the data at a higher speed,u may consider the example of stocks where u need to update the data at a faster pace,but in the case where performance is give a priority, EMS is mostly used.in the case of financial services where the data has to be accurate ems is used


Answer: Tibco RV is a bus kind of architecture and TIbco EMS is a Hub and spoke architecture....in ems every msg passes from server...drawback is if server fails all the transactions will be stops..and RV is a bus architecture, and it is subject based messaging...receiver need not know the sender location....Drawback is in RVCM some times duplications will be done...u can use any one..but most of the people prefer EMS becoz its cheap and good in security purpose..RV also good but its costlier than EMS and maintaince also costlier....than ems...

18. is there catch activity in bw?
This activity is available in general activities palette. This catch activity receives control of execution when an unhandled exception occurs. You can select a specific exception type to catch or you can specify that this activity should catch all unhandled exceptions. You can have more than one Catch activity in each exception scope, but each Catch activity must have a unique exception type.


19.what is a pallete?
Pallete is a container for Business works resources & activities which are used to design BW processes. Palletes are categorised and named on the basis of the functionality of the enclosed activities & resources, e.g., Rendezvous pallete, SOAP pallete, HTTP pallete, General activities pallete etc. The resources & activities from each pallete can be dragged from pallete panel to design pannel in the TIBCO designer.

20.How many types of messaging services in RV?
1. reliable
2.certified
3.distributed queue

21.What are the three properties appear for JMS Message?
SEN,REPLAY & SEND REQUEST AND REPLY

22.Difference between Topic and Queue?

queue is point to point
topic is publish-subscribe type

-->queue:- is like sender and reciver(listener). if you send a message on a particular subject to multiple queues. the queues will be listening in roundrobin fashion. ""i.e., one queue can receive or listen at an instance of time"

Topic:- its like publish and subscribe. many can publish and many can reviever. it at all many subscribers subscribe to the same topic they will all listen at the same time there will not be any roundrobin fashion her


5 comments:

Karthick said...

Can u share me few docs related to BW

my mail id is artistkarthick@gmail.com

Anonymous said...

Good Information.
please share tibco tutorials.
umasrikanthch@gmail.com

Narendra Rao said...

Very informative contents keep update the same always mail me some good Tibco BW sample projects of work i'll be the happiest person on this globe.
Can i practice Tibco BW on my PC itself can i use my system act like a server.Thanks
naren16k@gmail.com

NareshAllu's Den said...

Hi Narendra ..Yes you can install tibco on ur local pc and start working on it.

Nareshallu

Anonymous said...

Hello Naresh,put up some more BW topics.Sample of your work.Like,How to interacting with vendor applications(SAP,SIEBEL,etc.) with screen shots .That would be very helpful to me and others.
Thanks in advance.

Narendra Rao