Running a Sample Project

Load and run one of the example projects installed with the product, so that you can view end-to-end project execution in your workspace.

Prerequisites
To run these examples, you may need to disable McAfee host intrusion prevention. See your McAfee documentation for details.
Task
  1. Navigate to the Welcome page.
  2. Select Samples.
  3. Look at the samples and read their descriptions.
  4. Click the name of the sample you wish to load into your workspace. The SAP Sybase ESP Authoring perspective opens and loads the example.
    Project Explorer shows all example projects, plus any other projects you have created.
  5. Click Run Project run project in the main toolbar.
  6. If the Add Local Password dialog appears, enter the password for the studio user.
    You define a password for the studio user once per SAP Sybase Event Stream Processor Studio session. The first time you are asked for a password, Studio accepts any value. The next time you are prompted within the same session, you need to specify the same password. In your next Studio session, you can select a new password or keep the same one.
  7. The sample opens and publishes data automatically. Look at the various elements in the perspective to learn about the process.
    • Server View shows ESP localhost and connection information, as well as the sample project, which is now subscribed to the example stream.
    • The Console shows a series of status messages detailing ESP Server's activity.
  8. Open windows and streams to view published data in Stream View.
    1. In Server View, double-click each output window window.gif or output stream stream.gif.
      Each stream or window opens in a separate tab. For example, the IndexesCalculation example opens four tabs, with one input stream and three output windows.
    2. Double-click and open input windows input_window.gif and input streams input_stream.gif to view input data.
Next
Run a second example. Server View now shows both examples. Expand it to show all streams for each example.
Related concepts
Studio Authoring Views and Editors
Diagrams
Sample Projects
Project Execution and Testing
Related tasks
Starting SAP Sybase Event Stream Processor Studio
Exploring the SAP Sybase Event Stream Processor Studio Workspace