This topic provides a tutorial on creating a new Studio project to contain StreamBase fragment development of a simple EventFlow module.
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 button in the Perspective bar (typically in the top right corner of the Studio window):
If this button is not visible, click the ) and switch to the SB Authoring perspective from the resulting dialog.button (
Click the ) near the top of the SB Authoring perspective, or invoke → → .button (
In the New StreamBase Project wizard Project name field, type
Select StreamBase EventFlow™ Fragment as the project type. Click to view the following screen.
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.
Clickto view the following screen.
Leave these settings in place for now. Click.
The wizard now creates the project in your Studio workspace named
firstappwith a structure as shown in the following image:
src/main/eventflowfolder to find a package name folder
Open the package name folder to find the empty EventFlow module file
firstapp.sbappand its accompanying layout file
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.sbappfile and then opened it for you.