EventFlow Applications and LiveView

LiveView and LiveView Desktop allow you to see data and query it. To create, control, and channel data, you need to configure EventFlow applications to work with LiveView tables. There are four types of EventFlow applications that can be specifically configured to work with existing LiveView data tables:

  • Data Source applications feed an individual table via a DataOut stream.

  • Preprocessor applications process all data entering a single table:

  • Transform applications take data from one table, transform all or part of it, and send the transformed data to a second table.

  • Publisher applications publish data to one or more data tables:

Load and Run the Transform Sample

This section describes the Transform sample that ships with LiveView. StreamBase Systems recommends that you use this sample as a model for developing your own transform applications.Load and run the "Configuring a data transform" sample. Follow these steps:

  1. Start in StreamBase Studio, in the SB Authoring perspective.

  2. Load the Transform sample.

    1. Select FileLoad StreamBase Sample from Studio's top-level menu.

    2. In the Load StreamBase Projects dialog, open the StreamBase LiveView category.

    3. Make sure that the Open the selected sample's README file after importing check box is selected.

    4. Select the sample whose description is Configuring a data transform and press OK.

    The sample loads into Studio with the project name sample_lv-transform. The README file in the sample's top-level folder contains valuable information on the sample and how it works.

  3. In the Package Explorer view, select the name of the project, right-click, and from the context menu, select Run AsStreamBase LiveView Project. The Console view shows several messages as the LiveView Server compiles the project and starts.

  4. When you see message All tables have been loaded in the Console view, start LiveView Desktop:

    • On Windows, run StartAll ProgramsStreamBase LiveView n.mLiveView Desktop.

    • On Linux, run the following command:

      /opt/streambase/liveview/desktop/liveview &
      
  5. In LiveView Desktop, enter your username, server, and choose a name for the workspace that you want to use for this project. This example uses transform. Click OK when you have completed these steps.

    LiveView Desktop opens on a basic workspace with no open views.

  6. Open views on project tables by double-clicking the table names in the Tables pane.