Creating a New Studio Project

This topic provides a tutorial on creating a new Studio project to contain StreamBase fragment development of a simple EventFlow module.

  1. In Studio, make sure that you are in the SB Authoring perspective, which presents the views most commonly used for editing StreamBase modules. If you're in another perspective, such as SB Demos, click the SB Authoring button in the Perspective bar (typically in the top right corner of the Studio window):

    If this button is not visible, click the Open Perspective button () and switch to the SB Authoring perspective from the resulting dialog.

  2. Click the New StreamBase Project button () near the top of the SB Authoring perspective, or invoke FileNewStreamBase Project.

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

  4. Select StreamBase EventFlow™ Fragment as the project type. Click Next to view the following screen.

  5. In the Group ID field enter com.example.deptname. (If your site already has a standard Group ID for Maven projects, you can use that name instead.)

    Notice that the Package Name field is generated by combining the Group ID and the Artifact ID, which is the same as the Project Name you specified in step 3. Do not change the Package Name.

  6. Click Next to view the following screen.

    Leave these settings in place for now. Click Finish.

  7. The wizard now creates the project in your Studio workspace named firstapp with a structure as shown in the following image:

  8. Open the src/main/eventflow folder to find a package name folder com.example.deptname.firstapp.

  9. Open the package name folder to find the empty EventFlow module file firstapp.sbapp and its accompanying layout file firstapp.sblayout.

  10. Notice that the canvas area of Studio is blank, with a tab labeled firstapp.sbapp open. This shows that the New StreamBase Project wizard created the empty firstapp.sbapp file and then opened it for you.