| | |
1. what are the two storage methods used by Tibco EMS server?
Ans : File based and database
2. what files are created in file based data storage method?
Ans . sync.db,async.db,meta.db
3. what information does Meta.db contain?
Ans . durable subscribers, fault tolerant connections and other meta data.
4. what does flow control property specifies ?
ans . specifies the maximum size of the pending messages in server.
5. what are the destinations of messages?
Ans : topics and queues.
6. in how many ways destinations for messages can be created?
Ans . static : administrator creates destinations and client programs uses the destinations
Dynamic: here client program creates destinations during runtime
Temporary: servers connected through routes communicate through temporary destinations.
7. what are the messaging models supported by ems serve?
Ans . point to point ( queues), pubsub (topics), multicast (topic).
8.What is the diff between exclusive queues and non exclusives ?
Ans . in exclusive – only one receiver can take message where as in non exclusive many receivers can receive msg.
9.how long the message will be stored for durable subscribers?
Ans . as long as durable subscriber exists or until msg expiration time reached or storage limit has been reached.
10. what are the different delivery modes supported by ems?
Ans . persistent, non persistent and reliable.
11.what is the dis advantage of reliable mode delivery?
Ans . in reliable , with out knowing the status of the consumer the producer keeps sending msg to server
12. what is the condition for persistent message to be stored on disk in topics?
Ans . there must be atleast one durable subscriber or one must be connected to fault tolerant connection to ems server.
13. how do you distinguish dynamic queues and static queues.?
Ans . dynamic queues have * before the queue name.
14. what happens if npsend_checkmode parameter in tibemsd.conf file is enabled?
Ans. Server sends acknowledgement for non persistent message.
15. what is shared state in fault tolerant operation ?
Ans . primary server and backup server have connection to shared state which contain information about client connection and persistant messages.
16. how many ways a back up server detects failure of primary server?
Ans. Hearbeat failure:-Primary server sends a heartbeat message to backup server to indicate primary server is working .
connection failure :-backup server detects the failure of tcp connection with primary server
17.what is the use of locking in fault tolerant operation?
Ans.Inorder 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.
18.If authorization is enabled in tibemsd.config file what is the condition to configure ems server as fault tolerance?
Ans.Server 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.
19. what are the changes to be made in config file for ems fault tolerant operation?
Ans . in primary server give url of backup server to ft_active parameter and in backup server give url of primary server for ft_active parameter.
20. different types of zones?
Ans. Multihop zone and 1hop zone.
21. what is fail safe?
Ans. In fail safe mode messages are frist stored in disk before sending messages so that no messages are lost.
22.what is the default port number for ems server?
Ans 7222.
23. difference between rendezvous and ems?
Ans. Rvd is bus based architecture , ems is centralized architecture
24.what are different acknowledge modes?
Ans. Dups_ok_acknowlwdge,auto_acknowlwdge,client_acknowledge,no_acknowledge.
25. How many ways we can determine the life span of the message in a queue. What are they?
Ans: expiration parameter in queue configuration file.
JMS expiration time in queue sender.
The JMS expiration time in queue sender overrides any value given in config.
26. What are the message storing mechanisms of queues?
Ans: persistent and non-persistent.
Persistent: messages are stored to external storage before sending.
Non-persistent: not stored to any external storage. The information will not be available for retrieval.
27.what is condition to create bridge?
Ans. Queus and topics must be defined as global.
28. why do we need routers ?
Ans. To transfer messages between different ems servers.
29. what is the default maximum size of message?
Ans. 512mb
30. how do you configure client for fault tolerant connection?
Ans. Specify multiple server as a comma-separated list of URLs and both URLs must use same protocol either tcp or ssl.
Ans : File based and database
2. what files are created in file based data storage method?
Ans . sync.db,async.db,meta.db
3. what information does Meta.db contain?
Ans . durable subscribers, fault tolerant connections and other meta data.
4. what does flow control property specifies ?
ans . specifies the maximum size of the pending messages in server.
5. what are the destinations of messages?
Ans : topics and queues.
6. in how many ways destinations for messages can be created?
Ans . static : administrator creates destinations and client programs uses the destinations
Dynamic: here client program creates destinations during runtime
Temporary: servers connected through routes communicate through temporary destinations.
7. what are the messaging models supported by ems serve?
Ans . point to point ( queues), pubsub (topics), multicast (topic).
8.What is the diff between exclusive queues and non exclusives ?
Ans . in exclusive – only one receiver can take message where as in non exclusive many receivers can receive msg.
9.how long the message will be stored for durable subscribers?
Ans . as long as durable subscriber exists or until msg expiration time reached or storage limit has been reached.
10. what are the different delivery modes supported by ems?
Ans . persistent, non persistent and reliable.
11.what is the dis advantage of reliable mode delivery?
Ans . in reliable , with out knowing the status of the consumer the producer keeps sending msg to server
12. what is the condition for persistent message to be stored on disk in topics?
Ans . there must be atleast one durable subscriber or one must be connected to fault tolerant connection to ems server.
13. how do you distinguish dynamic queues and static queues.?
Ans . dynamic queues have * before the queue name.
14. what happens if npsend_checkmode parameter in tibemsd.conf file is enabled?
Ans. Server sends acknowledgement for non persistent message.
15. what is shared state in fault tolerant operation ?
Ans . primary server and backup server have connection to shared state which contain information about client connection and persistant messages.
16. how many ways a back up server detects failure of primary server?
Ans. Hearbeat failure:-Primary server sends a heartbeat message to backup server to indicate primary server is working .
connection failure :-backup server detects the failure of tcp connection with primary server
17.what is the use of locking in fault tolerant operation?
Ans.Inorder 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.
18.If authorization is enabled in tibemsd.config file what is the condition to configure ems server as fault tolerance?
Ans.Server 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.
19. what are the changes to be made in config file for ems fault tolerant operation?
Ans . in primary server give url of backup server to ft_active parameter and in backup server give url of primary server for ft_active parameter.
20. different types of zones?
Ans. Multihop zone and 1hop zone.
21. what is fail safe?
Ans. In fail safe mode messages are frist stored in disk before sending messages so that no messages are lost.
22.what is the default port number for ems server?
Ans 7222.
23. difference between rendezvous and ems?
Ans. Rvd is bus based architecture , ems is centralized architecture
24.what are different acknowledge modes?
Ans. Dups_ok_acknowlwdge,auto_acknowlwdge,client_acknowledge,no_acknowledge.
25. How many ways we can determine the life span of the message in a queue. What are they?
Ans: expiration parameter in queue configuration file.
JMS expiration time in queue sender.
The JMS expiration time in queue sender overrides any value given in config.
26. What are the message storing mechanisms of queues?
Ans: persistent and non-persistent.
Persistent: messages are stored to external storage before sending.
Non-persistent: not stored to any external storage. The information will not be available for retrieval.
27.what is condition to create bridge?
Ans. Queus and topics must be defined as global.
28. why do we need routers ?
Ans. To transfer messages between different ems servers.
29. what is the default maximum size of message?
Ans. 512mb
30. how do you configure client for fault tolerant connection?
Ans. Specify multiple server as a comma-separated list of URLs and both URLs must use same protocol either tcp or ssl.
![]()
Answers: 1) A and D 2) A 3) A and B 4) D and E 5) D 6) B and D 7) A, B, and D 8) A 9) A 10) B |
Prometric
TIBCO Developers Library: What is Business Works?
| |
Easy programming, fast development and powerful software in creating business applications are needed by businesses in today's trend. Such software saves time, money and effort for both developers and users and produces a very high quality output. This is where TIBCO ActiveMatrix Business Works comes in to let you experience it all.
TIBCO ActiveMatrix Business Works is a set of software that enables developers to easily create and deploy business application. It's fast, easy to develop and integrate business applications using this software. It uses a development tool called TIBCO Designer in creating business application. The designer also has an integrated tester that helps the developers debug their processes before deployment. It supports standard protocols such as HTTP/S, FTP, SMTP, JDBC, as well as Java, XML and Web Services. It is also robust in exception handling and error reporting. This software offers full visibility of business processes not just to the developer but also to the companies that use the application. It uses a web-based administration tool called TIBCO Administrator. You use this tool to manage your application, monitor the inputs, outputs, logs and even the execution of the processes. You can even tune the performance of your applications using this tool. BusinessWorks uses basic identity authentication or SSL with certificate management for its security capabilities and TIBCO Messaging such as EMS and RV for its messaging capabilities.
What are its benefits?
The benefits that you can get if you are to use BusinessWorks in creating business application are: it reduces the amount of time and effort required to develop and deploy business activities because you are provided by a designer environment that lets you design and configure processes with less coding; and it extends the life of existing business processes. Because all business processes are connected via TIBCO bus, when you create new business processes, all you just have to do is connect the application to the TIBCO bus for it to be integrated in your existing project. There is no need for you to delete your old application but you just need to integrate your new application to your old application. These benefits will really help you save time and money.
What are the key components in using BUSINESS WORKS?
The key components are TIBCO Designer, TIBCO Administrator, BusinessWorks engine, TIBCO Runtime Agent (TRA) and TIBCO Adapters. BusinessWorks engine is used to run business processes in test mode and when it is deployed. TIBCO Runtime Agent (TRA) is responsible for the status of processes, whether to run or stop, that is deployed in your machine. TIBCO Adapters are used to integrate external applications into the BusinessWorks framework.
How to use TIBCO Designer?
TIBCO Designer is so easy to use. It is similar to creating a flow chart of your process in the design panel of your working environment. You will be using the existing activities from the palette panel. All you need to do is drag and drop the activities from your palette panel to your design panel. In order to create a business process, you have to create first a process definition. Upon the creation of the process definition, the designer will automatically create a start and end activity. Then drag and drop certain activities you need. These activities have certain functions for you to use. You only need to configure them and create transitions from one activity to another. There is less encoding and it is so easy to use since it's a graphical representation of your processes.
What is an Activity?
An activity is like an object that does a specific work. For example, we have a JDBC Query activity that queries data from a database table. A Write File activity writes content to a specified file. It can be .xml, .txt, .dat and so much more. Another is the Generate error activity that throws an error or an exception in your process. One technique to handle exception and errors is by using a Catch activity. My last example is the Assign activity that sets a value to a user-defined process variable.
What is the difference between Palettes and Activities?
Palettes are sets of related activities. It organizes the activities according to their function so that it will be faster for the developers to locate the activity they needed. For example, we have a HTTP palette that has a set of HTTP related activities such as HTTP Receiver, Send HTTP Request, Send HTTP Response, Wait for HTTP Request, HTTP Connection and Proxy Configuration. We also have a JDBC palette that also has a set of JDBC related activities such as JDBC Query, JDBC Update, SQL Direct, JDBC Call Procedure, JDBC Connection and a lot more activities. There are more palettes you will encounter in TIBCO Designer, such as File, General Activities, FTP, JAVA, JMS, SOAP and a lot more.
What are Shared Resources?
Shared resources are resources that can be repeatedly reused by activities throughout the project. It can be a Schema, WSDL file, JBDC Connection, FTP Connection or HTTP Connection. For example, if you have a process that uses a JDBC Query to query a table in your database and is using a JDBC connection to connect to the database server, that JDBC Connection can be reused by other JDBC activities in your project.
How can I do looping in the Designer?
You can do looping in the Designer by Grouping the activities. The Groups feature of BusinessWorks has different loop settings. It can be Repeat until True loop, which repeats the execution of the grouped activities until the condition is met. This is similar to a Do While loop. Another is Repeat on Error until True loop, which repeats the execution of grouped activities while an error occurs until there is no error or the condition is met. There is also a While True loop, which repeats the execution of grouped activities while the given condition is met. This is similar to a While Do loop. And lastly, you can also set an Iterate group, which repeats the execution of the grouped activities for all existing values in a list. This is similar to a For Loop.
How do I deploy my process?
To deploy your process, you need to create an EAR file. You can only create an EAR file using the TIBCO Designer. In the designer, you have to use the Enterprise Archive Resources, configure that resource and use it to build an EAR file. An EAR file can contain local project resources, LibraryBuilder resources, files as specified in AliasLibrary resources and files that are needed by your application. After that, you can easily deploy the EAR file in the TIBCO Administrator. You can use and monitor the application you have deployed in TIBCO Administrator.
How do you achieve an organized, efficient and highly improved performance project?
To achieve an organized, efficient and highly improved performance project, you have to follow these BusinessWorks best practices.
* Organize your project in folders. Create a separate folder for your Processes, Adapters, Shared resources, Connection, etc
* Don't forget to Log and checkpoint important data
* Sub-process certain processes that are doing the same routine
* You must observe clear and consistent naming conventions
* Always apply configuration settings and Save project frequently
* The designer has an XPath Formula Builder in which you can create XPath expressions. Use the XPath Editor Functions to create expressions
* Always validate resources and debug errors before you deploy your application
* For a quality assured application, test your application in all kinds of scenarios including errors
Now that you know what BusinessWorks is and what it can do; increased developer productivity, fast production and superb business to business integration can be easily achieved using this software. TIBCO ActiveMatrix BusinessWorks is really a powerful tool that will benefit both developers and users.

No comments:
Post a Comment