In this topic, we will create a new StreamBase project. StreamBase Studio uses projects to store applications and their associated files.
-
Open the New StreamBase Project wizard: click the
button near the top of the
Authoring perspective.
-
Type
MyFirstAppin the Project name field.
-
By default, StreamBase Studio will create your project in your current workspace. Also notice the default options to create an empty EventFlow application and an empty StreamSQL application. We will use both of those applications later in the tutorial, so accept these settings.
-
Under the option to create an EventFlow Application file, check the option, and open it now.
-
Uncheck the option to create a server configuration file, because we will not be changing the default configuration settings for the StreamBase server.
-
Finally, leave the Java Support option unchecked, because we will not be using Java components in our first application.
-
Click . When a confirmation message is diplayed, click to dismiss the confirmation window.
You should notice:
-
The New StreamBase Project wizard populates the Package Explorer with a project folder using the name you entered, and also creates the two applications. Both are assigned the same name as the project, with
.sbappand.ssqlextensions. -
The empty EventFlow application is opened in the EventFlow Editor; the StreamSQL application is not, because you did not select the option to open it automatically open it.
-
The Palette view, which was formerly empty, is now filled with icons. The icons represent all the different kinds of components that you can build an application with in the graphical EventFlow Editor, as we will do in a later topic.
|
You now have a project to work in that, and a stub application. Project files are stored in an Eclipse workspace, by default in the following directory:
- On Windows
-
C:\Documents and Settings\username\StreamBase Studion.mWorkspace\ - On UNIX
-
your-home-directory/streambase-studio-n.m-workspace/
where n.m is the installed
StreamBase version number.
You can have multiple StreamBase workspaces. To change to a different workspace (or to create a new one), click → , and choose a directory.
