TIBCO Designer Tutorial - Hello World

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:

Create a new empty project called TIBCOTutorials. Inside the TIBCOTutorials root folder, create a new folder called BusinessProcesses. Inside the BusinessProcesses folder, create a new folder called HelloWorld. Inside the HelloWorld folder, add a process definition called HelloWorld. 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. Create a transition line from the Start activity to the Write File activity and another from the Write File activity to the End activity. 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. 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. 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.

Please like, share & comment!

0 0

Post Your Comment

10 + 5 =

Comments

Get In Touch