You are on page 1of 1

TIBCO Designer Tutorial - Hello World - From TIBCO Certified Trainer Jazon Samillano 28/10/10 01:24

TIBCO Designer Tutorial - Hello World


This TIBCO tutorial teaches you how to create a process definition that writes the words
"Hello, World!" into a file using TIBCO Designer. You will really appreciate how easy this is
to do with TIBCO. The neat thing about application development with TIBCO Designer is that
you do not have to know the programming syntax on how to perform most of the tasks.
Take, for example, the syntax for writing to a file so that you can output "Hello, World!" into
the file. This task requires knowledge of the file writing syntax specific to the programming
language being used. With the TIBCO Designer tool, all you have to do is place the
appropriate activity (in this case, the Write File activity) into the process. After that, you
provide the file path and text content of "Hello, World!" into the activity configuration. Then
you're done! No need to know the syntax and the use of the appropriate classes behind the
scenes. This tutorial is a good demonstration of how TIBCO increases developer
productivity. Enjoy!

The writing of output into a file can be achieved by creating and configuring a Write File
activity in TIBCO Designer. The steps to do this are as follows:

1. Create a new empty project called XmarterTIBCOTutorials.


2. Inside the XmarterTIBCOTutorials root folder, create a new folder called
BusinessProcesses.
3. Inside the BusinessProcesses folder, create a new folder called HelloWorld.
4. Inside the HelloWorld folder, add a process definition called HelloWorld.
5. Add a Write File activity into the process definition. Configure the Write File activity
as follows:
Go to the Input tab of the activity:
In the fileName field, type "C:\HelloWorld.txt".
In the textContent field, type "Hello, World!"
When done, click the Apply button in the Write File activity and save the
whole project.
6. Create a transition line from the Start activity to the Write File activity and another
from the Write File activity to the End activity.
7. Validate the resource and make sure there are no errors before testing the process.
To do this, deselect all the activities by clicking on a white space inside the
process definition. Then click on the Validate Resource button on the top
section of TIBCO Designer.
8. Go to the Tester tab on the left-hand side of TIBCO Designer. Click on the Start
testing button. In the dialog box that comes up, click on the Load & Start Current
button.
The process should now execute.
9. To check the output, go to My Computer, and open the C drive. Check to see that it
contains a HelloWorld.txt file with a "Hello, World!" text written to the file.

I hope this TIBCO tutorial has been helpful to you. As you can see in the steps above, no
coding is required for you to write text into a file. The main bulk of the work is really in the
Write File activity. The steps where I had you create the project folders were just for good
project organization. Those steps were not necessary to the actual functionality. This is just
one of many instances in which TIBCO dramatically boosts developer productivity. In my
opinion, developer productivity is one of the reasons that make TIBCO such a spectacular
tool for application development.

[Normal Version]

www.xmarter.com
©2010 Xmarter, Inc. All Rights Reserved.

http://www.xmarter.com/tibco-training-center/tibco-businessworks-development/tibco-designer-tutorial-hello-world-text.jsp?printerfriendly Página 1 de 1

You might also like