This topic shows the steps to create 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 EventFlow 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 (
Select StreamBase EventFlow™ Fragment as the project type.
In the New StreamBase Project wizard Project name field, type
Clickto see the next panel.
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.) The Artifiact ID is named the same as the Project Name you specified in step 3.
Notice that the Package Name field is generated by combining the Group ID and the Artifact ID. Do not change the Package Name.
(If the Package Name does not automatically combine the two fields after you enter the Group ID, go back one panel, change one letter of the Artifact ID, revert that change, then come back to this panel.)
Clickto view the following panel.
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 folder named
Open the package folder to find the empty EventFlow module file
firstapp.sbappand its accompanying layout file
The EventFlow Editor is the large central pane in the top middle of the Studio window. The canvas area of the EventFlow Editor in the center Studio is blank, with an open tab labeled firstapp.sbapp. This shows that the New StreamBase Project wizard created the empty
firstapp.sbappfile and then opened it for you.