Creating Your First StreamBase Project

Purpose

In this topic, we will create a new StreamBase project. StreamBase Studio uses projects to store applications and their associated files.

Note

Throughout this tutorial, we suggest names for projects, applications, and other resources files that you will create. We will refer to those resources using the suggested names, but you are free to choose other names.

Create a Project and Generate an Application

  1. Make sure that you are in the SB Authoring perspective, which presents the views most commonly used for editing StreamBase applications. The SB Authoring button should be selected in the Perspective bar (typically in the top right corner of the Studio window):

    If it is not, click the Open Perspective button and switch to the SB Authoring perspective.

  2. Click the New StreamBase Project button near the top of the SB Authoring perspective, or navigate to FileNewStreamBase Project.

  3. In the New StreamBase Project wizard Project name field, type MyFirstApp.

  4. By default, StreamBase Studio creates your project in your current workspace. Accept this setting, as well as the default options to create an empty EventFlow application file.

  5. Under the option to create an EventFlow Application file, check the option, and open it now.

  6. Uncheck the Create a server configuration file option, because we will not be changing the default configuration settings for StreamBase Server.

  7. Uncheck the StreamBase Client API option, because we will not be adding custom Java components to our first application.

  8. Click Finish. Click OK to dismiss the confirmation window.

    The two stub application files are created. Both have the same name as the project, with .sbapp and .sblayout extensions. The .sblayout file describes your application's layout in the EventFlow editor. Both are added to your Package Explorer, and MyFirstApp.sbapp, opens in the EventFlow Editor.