Mapping Concepts to a Sample: File Poller

The concepts introduced in previous sections enable you to understand and design a simple business process. The File Poller example demonstrates such a process.

Pre-requisites

The File Poller sample demonstrates the concepts introduced in the section General Concepts:

After going through these sections, you should be able to understand and execute a simple process such as the File Poller.

File Poller Sample

The File Poller sample project creates a simple process that polls a file at a given location, for example c:\tmp\fileread.txt, to periodically check if the file was changed and writes the content of the polled file to a specified output file. By default, the file is created if it does not exist in the specified location.

The activities, File Poller and Write File, from the File palette are used in this process. The data flows from File Poller activity to the Write File activity and is illustrated by the transition arrow in File Poller Process Diagram.
File Poller Process Diagram

For step-by-step instructions to create and test the File Poller process, see the TIBCO ActiveMatrix BusinessWorks™ Getting Started guide.

The Project Explorer in the File Poller Process Diagram also shows the application - FilePoller.application, application module - FilePoller, and the process - Process.bwp created when developing the File Poller sample.

Next Steps

After completing this section, you should be able to design a simple process with minimal assistance. You can further build on this sample to solve problems using batch-oriented and process-oriented styles by making use of TIBCO® Adapters and activities from other palettes such as JMS, JDBC, and FTP.