TIBCO BW FAQ -3
61) What is the bare minimum required to use TIBOC Business Works?
• TRA
• BusinessWorks.
62) What are steps to design & test a process?
1. Create a new Process by selecting “Process Definition” from the Process Palette
2. Design the Process by configuring the required activities between the “Start” activity and “Stop” activity
3. To test the Process, switch to the “Tester” panel. Then click the (>) button or press ‘F9’ to load the test process.
63) What are the steps to build an .ear file using TIBCO Designer?
1. Select the “Enterprise Archive” activity from “General” Palette and configure the “Name” & “File Loacation”
2. Inside the “Enterprise Archive” activity and the “Process Archive” activity from the “Process” Palette.
3. Add the self starting process / services to the “Process Archive”
4. Click on “Build Archive” button in the “Configuration” tab in the “Enterprise Archive” activity to build the EAR file.
64) What are the steps to build an .ear file (examnple TestAPP) and deploy it from “Command Prompt”?
1. Build the ear file using “buildear” utility
buildear -s -ear /TestAPP.archive -o c:\ ..\deployment\TestAPP.ear -p c:\ ..\projects\TestAPP
2. Create the deployment configuration file using “AppManage” utility
AppManage -export -ear c:\ ..\deployment\TestAPP.ear –out c:\ .. \deployments\TestAPP.xml
3. Edit the deployment configuration XML file using a text editor
4. Deploy the application using “AppManage” utility
AppManage -deploy -ear c:\ .. \deployment\TestAPP.ear -deployconfig c:\ .. \deployment\TestAPP_Admin.xml -app TestAPP -domain Admin -user admin -pw admin.
65) What are the steps to deploy an application using the Administrator GUI?
1. Start the TIBCO Administrator (tibcoadmin_domain-name.exe) & the TIBCO HAWK (hawkagent_domain-name.exe) agent from the command prompt or the windows services.
2. Start the Administrator GUI in a web browser (http://host-name:port) and enter the UID & PWD for the domain.
3. In the left Panel under the “Application Management” module select “All Application”.
4. In the right Panel, click on “New Application” and select the EAR File and click “OK” button.
5. Under “Services” Check the “Deploy on Save” option and then click on “Save” button to deploy the application.
66) What are the steps to create a Master Domain using Domain Utility on the host machine?
1. Select “Domain Configuration” under “Category” List
2. Select “Create a New Administration Domain” under “Task” list and click on “Next”
3. Under “Domain Details”, input the “Administration Domain” & “HAWK Cluster”
4. Uncheck “Domain information is stored in a Database” and “Local Application data” options
5. Check the “Show Advanced” option
6. Set the “RV Daemon” and “RV Service” and make sure they are the same ports
7. Similarly set the “HAWK Daemon” and “HAWK Service” and click on next
8. Set the “HTTP Port” and click and next
9. Set the UID & PWD for the Domain and click on “Finish”.
67) What are the functions of an Administrator?
• User Management
• Machine Management
• Application Management
• Repository Management.
68) What are the uses of grouping activities?
Repeat a group of activities based on a condition.
• Iterate over a list.
• Repeat until condition true.
• Repeat on Error until condition true.
69) What is the scope of user defined process variables?
The scope of user defined process variables is only within the process in which it is defined. It does not even extend to a sub process that is invoked from the current process.
70) What are the reusable components in a project?
• Sub process
• WSDL Resource
• HTTP Connection
• JDBC Connection
• Schema Definition
71) What are the various types of variables available within activities?
• Process Variable
• Local Variable
• Global Variable
• Error Variable
• Shared Variable.
72) What are the messaging tools available in TIBCO?
• TIBCO EMS
• TIBCO Rendezvous.
73) What activities are required to Create, Copy & Delete a File?
“Create File” Activity – The Create File activity creates a new file or directory with the specified name. When creating a file, you can also provide the file contents.
“Copy File” Activity – The Copy File activity allows you to copy files and directories to a new location.
“Remove File” Activity – The Remove File activity removes the specified file. This activity can also remove empty directories. If a directory that is not empty is specified, an exception is thrown.
74) What activities are required to Read, Write & Rename Files?"
Read File” Activity – The Read File activity is used to read a file and place its contents into the activity’s output.
“Write File” Activity – The Write File activity writes content to the specified file.
“Rename File” activity – The Rename File activity is used to rename or move files. This activity can also rename directories, but you cannot use this activity to move a directory to a new location.
75) What is the use of “Data Format” Activity?
The Data Format resource contains the specification for parsing or rendering a text string using the Parse Data and Render Data activities. This shared configuration resource specifies the type of formatting for the text (delimited columns or fixed-width columns), the column separator for delimited columns, the line separator, and the fill character and field offsets for fixed-width columns. You must also specify the data schema to use for parsing or rendering the text.
76) What are the two types of Data Format supported by TIBCO?
• Delimiter separated
• Fixed format
77) What is the use of “Field Offsets” in the Data Format Activity?
When processing “Fixed Format” text, you must specify the line length and the column offsets. This allows a Parse Data or Render Data activity to determine where columns and lines begin and end. The Field Offsets tab allows you to specify the format of fixed-width text.
78) What is the “Parse File” & “Render File” Activity?
“Parse File” Activity – The Parse Data activity takes a text string or input from a file and processes it, turning it into a schema tree based on the specified Data Format shared configuration.
“Render File” Activity – The Render Data activity takes an instance of a data schema and renders it as a text string. The schema processed is based on a specified Data Format shared configuration.
79) What is the “File Poller” Activity?
The File Poller process starter polls for files or directories with the given name and starts a process when the specified change (creation, modification, deletion) is detected.
80) What is the “Wait For Change” Activity used for?
The Wait for File Change activity waits for a file creation, modification, or deletion event to occur during process execution. When this activity is executed, the process instance suspends and waits for the specified change to occur before resuming.
81) Which Activity is used to create a Database table?
SQL Direct
82) Which Activities are used to execute a stored procedure or a statement?
“JDBC Call Procedure” is used to execute a stored procedure.
“SQL Direct” is used to execute a database statement (Create, Alter, Delete etc.)
83) Which activity is used to establish a connection to a database?
JDBC Connection
84) What are the steps need to establish a database connection?
1. Add “JDBC Connection” from the JDBC Palette to the project
2. Set the “Connection Type” to JDBC
3. Select the “JDBC Driver” form the Drop Down List Box (ex: Oracle)
4. In the “Database URL”, set the “host-name”, “port-number” and “database-name”
5. Set the Username & Password for the database
6. Test the connection
85) How do you add or retrieve a record form a database?
“JDBC Query” is used to execute select statement to retrieve records from a database
“JDBC Update” is used to add records to a database via insert statement
86) What is the use of “Fetch” in the “JDBC Query” Activity?
The Fetch button on the “JDBC Query” activity allows you to synchronize the activity with the contents of the database. If you do not click the Fetch button before applying your changes, TIBCO ActiveMatrix BusinessWorks displays an error dialog prompting you to first fetch the output schema.
87) Can we use JNDI to connect to a database instead of JDBC?
We can used the “JDBC Connection” Activity to use the JNDI Context (in the “Connection Type” Dropdown box) instead of a JDBC Connect to establish a database connection
88) Which activity is used to create a XML Schema?
“Schema” form the “XML Tools” palette is used to define the XML Schema
89) What is XML Element & Attribute?
XML Elements XML Elements contain the opening and closing tags, child elements, and data.
(Ex:
Robert
A+
)
XML Attribute
An attribute appears within the opening tag of an element. XML requires that all XML attributes have a value. This means all attributes have to be equal to something! In the following example active=”true” is the attribute.
(Ex:
Robert
A+
)
90) What is the use of “Transform XML” Activity?
The Transform XML activity allows you to transform an input XML document into the output specified by the given XSLT File shared configuration resource. Normally, transformation of data occurs by mapping process variables to an activity’s input and applying XPath expressions to perform any transformation. If you have an XSLT file that you are using for transformations, or if an outside source supplies an XSLT file, this activity allows you to use the XSLT file instead of manually creating the mappings.
• TRA
• BusinessWorks.
62) What are steps to design & test a process?
1. Create a new Process by selecting “Process Definition” from the Process Palette
2. Design the Process by configuring the required activities between the “Start” activity and “Stop” activity
3. To test the Process, switch to the “Tester” panel. Then click the (>) button or press ‘F9’ to load the test process.
63) What are the steps to build an .ear file using TIBCO Designer?
1. Select the “Enterprise Archive” activity from “General” Palette and configure the “Name” & “File Loacation”
2. Inside the “Enterprise Archive” activity and the “Process Archive” activity from the “Process” Palette.
3. Add the self starting process / services to the “Process Archive”
4. Click on “Build Archive” button in the “Configuration” tab in the “Enterprise Archive” activity to build the EAR file.
64) What are the steps to build an .ear file (examnple TestAPP) and deploy it from “Command Prompt”?
1. Build the ear file using “buildear” utility
buildear -s -ear /TestAPP.archive -o c:\ ..\deployment\TestAPP.ear -p c:\ ..\projects\TestAPP
2. Create the deployment configuration file using “AppManage” utility
AppManage -export -ear c:\ ..\deployment\TestAPP.ear –out c:\ .. \deployments\TestAPP.xml
3. Edit the deployment configuration XML file using a text editor
4. Deploy the application using “AppManage” utility
AppManage -deploy -ear c:\ .. \deployment\TestAPP.ear -deployconfig c:\ .. \deployment\TestAPP_Admin.xml -app TestAPP -domain Admin -user admin -pw admin.
65) What are the steps to deploy an application using the Administrator GUI?
1. Start the TIBCO Administrator (tibcoadmin_domain-name.exe) & the TIBCO HAWK (hawkagent_domain-name.exe) agent from the command prompt or the windows services.
2. Start the Administrator GUI in a web browser (http://host-name:port) and enter the UID & PWD for the domain.
3. In the left Panel under the “Application Management” module select “All Application”.
4. In the right Panel, click on “New Application” and select the EAR File and click “OK” button.
5. Under “Services” Check the “Deploy on Save” option and then click on “Save” button to deploy the application.
66) What are the steps to create a Master Domain using Domain Utility on the host machine?
1. Select “Domain Configuration” under “Category” List
2. Select “Create a New Administration Domain” under “Task” list and click on “Next”
3. Under “Domain Details”, input the “Administration Domain” & “HAWK Cluster”
4. Uncheck “Domain information is stored in a Database” and “Local Application data” options
5. Check the “Show Advanced” option
6. Set the “RV Daemon” and “RV Service” and make sure they are the same ports
7. Similarly set the “HAWK Daemon” and “HAWK Service” and click on next
8. Set the “HTTP Port” and click and next
9. Set the UID & PWD for the Domain and click on “Finish”.
67) What are the functions of an Administrator?
• User Management
• Machine Management
• Application Management
• Repository Management.
68) What are the uses of grouping activities?
Repeat a group of activities based on a condition.
• Iterate over a list.
• Repeat until condition true.
• Repeat on Error until condition true.
69) What is the scope of user defined process variables?
The scope of user defined process variables is only within the process in which it is defined. It does not even extend to a sub process that is invoked from the current process.
70) What are the reusable components in a project?
• Sub process
• WSDL Resource
• HTTP Connection
• JDBC Connection
• Schema Definition
71) What are the various types of variables available within activities?
• Process Variable
• Local Variable
• Global Variable
• Error Variable
• Shared Variable.
72) What are the messaging tools available in TIBCO?
• TIBCO EMS
• TIBCO Rendezvous.
73) What activities are required to Create, Copy & Delete a File?
“Create File” Activity – The Create File activity creates a new file or directory with the specified name. When creating a file, you can also provide the file contents.
“Copy File” Activity – The Copy File activity allows you to copy files and directories to a new location.
“Remove File” Activity – The Remove File activity removes the specified file. This activity can also remove empty directories. If a directory that is not empty is specified, an exception is thrown.
74) What activities are required to Read, Write & Rename Files?"
Read File” Activity – The Read File activity is used to read a file and place its contents into the activity’s output.
“Write File” Activity – The Write File activity writes content to the specified file.
“Rename File” activity – The Rename File activity is used to rename or move files. This activity can also rename directories, but you cannot use this activity to move a directory to a new location.
75) What is the use of “Data Format” Activity?
The Data Format resource contains the specification for parsing or rendering a text string using the Parse Data and Render Data activities. This shared configuration resource specifies the type of formatting for the text (delimited columns or fixed-width columns), the column separator for delimited columns, the line separator, and the fill character and field offsets for fixed-width columns. You must also specify the data schema to use for parsing or rendering the text.
76) What are the two types of Data Format supported by TIBCO?
• Delimiter separated
• Fixed format
77) What is the use of “Field Offsets” in the Data Format Activity?
When processing “Fixed Format” text, you must specify the line length and the column offsets. This allows a Parse Data or Render Data activity to determine where columns and lines begin and end. The Field Offsets tab allows you to specify the format of fixed-width text.
78) What is the “Parse File” & “Render File” Activity?
“Parse File” Activity – The Parse Data activity takes a text string or input from a file and processes it, turning it into a schema tree based on the specified Data Format shared configuration.
“Render File” Activity – The Render Data activity takes an instance of a data schema and renders it as a text string. The schema processed is based on a specified Data Format shared configuration.
79) What is the “File Poller” Activity?
The File Poller process starter polls for files or directories with the given name and starts a process when the specified change (creation, modification, deletion) is detected.
80) What is the “Wait For Change” Activity used for?
The Wait for File Change activity waits for a file creation, modification, or deletion event to occur during process execution. When this activity is executed, the process instance suspends and waits for the specified change to occur before resuming.
81) Which Activity is used to create a Database table?
SQL Direct
82) Which Activities are used to execute a stored procedure or a statement?
“JDBC Call Procedure” is used to execute a stored procedure.
“SQL Direct” is used to execute a database statement (Create, Alter, Delete etc.)
83) Which activity is used to establish a connection to a database?
JDBC Connection
84) What are the steps need to establish a database connection?
1. Add “JDBC Connection” from the JDBC Palette to the project
2. Set the “Connection Type” to JDBC
3. Select the “JDBC Driver” form the Drop Down List Box (ex: Oracle)
4. In the “Database URL”, set the “host-name”, “port-number” and “database-name”
5. Set the Username & Password for the database
6. Test the connection
85) How do you add or retrieve a record form a database?
“JDBC Query” is used to execute select statement to retrieve records from a database
“JDBC Update” is used to add records to a database via insert statement
86) What is the use of “Fetch” in the “JDBC Query” Activity?
The Fetch button on the “JDBC Query” activity allows you to synchronize the activity with the contents of the database. If you do not click the Fetch button before applying your changes, TIBCO ActiveMatrix BusinessWorks displays an error dialog prompting you to first fetch the output schema.
87) Can we use JNDI to connect to a database instead of JDBC?
We can used the “JDBC Connection” Activity to use the JNDI Context (in the “Connection Type” Dropdown box) instead of a JDBC Connect to establish a database connection
88) Which activity is used to create a XML Schema?
“Schema” form the “XML Tools” palette is used to define the XML Schema
89) What is XML Element & Attribute?
XML Elements XML Elements contain the opening and closing tags, child elements, and data.
(Ex:
Robert
A+
)
XML Attribute
An attribute appears within the opening tag of an element. XML requires that all XML attributes have a value. This means all attributes have to be equal to something! In the following example active=”true” is the attribute.
(Ex:
Robert
A+
)
90) What is the use of “Transform XML” Activity?
The Transform XML activity allows you to transform an input XML document into the output specified by the given XSLT File shared configuration resource. Normally, transformation of data occurs by mapping process variables to an activity’s input and applying XPath expressions to perform any transformation. If you have an XSLT file that you are using for transformations, or if an outside source supplies an XSLT file, this activity allows you to use the XSLT file instead of manually creating the mappings.
Comments
Post a Comment