JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS Intelligent Event Processor Service Engine Tutorial     Java CAPS Documentation
search filter icon
search icon

Document Information

Using the IEP Service Engine in a Project

Prerequisites

Software Needed for the Tutorial

Configuring and Starting the GlassFish Application Server

To Check the Status of the GlassFish Application Server

To Configure the GlassFish Application Server:

To Start the GlassFish Application Server:

Creating an Intelligent Event Processor Module Project

To Create an Intelligent Event Processing Project

To Add IEP Operators from the Palette to the Design Area

Creating and Deploying the Composite Application

To Create and Deploy the Composite Application

Testing the quotesJBI Application

To Create the Database Connection

To Create the Database Connection

Running the Java Project

To Run the Java Project

Summary

Configuring and Starting the GlassFish Application Server

Before you can deploy your application, the GlassFish Application Server must be configured correctly and running.


Note - In the following procedures, the GlassFish V2 node refers to the node that represents the GlassFish Application Server associated with Java CAPS.


To Check the Status of the GlassFish Application Server

  1. If the Runtime window is not visible, choose Window > Runtime.
  2. In the Runtime window, expand the Servers node.

    The Servers node should contain a GlassFish Application Server subnode. If a GlassFish Application Server node does not appear, go to To Configure the GlassFish Application Server:.

    If a green arrow badge appears on the GlassFish Application Server node, the server is running. If a green arrow badge does not appear, go to To Start the GlassFish Application Server:.

To Configure the GlassFish Application Server:

  1. If the Runtime window is not visible, choose Window > Runtime.
  2. In the Runtime window, right-click the Servers node and choose Add Server from the pop-up menu.

    The Add Server Instance dialog box opens.

  3. In the Choose Server page, from the Server drop-down list, select GlassFish Application Server.
  4. (Optional) In the Name field, change the default name for the server.

    The IDE uses this name to identify the server.

  5. Click Next.

    The Platform Location Folder page opens.

  6. In the Platform Location field, use the Browse button to navigate to and select the installation location of the application server.

    The default installation location is different depending on the type of installation and the platform, as shown in the following table.

  7. Select the Register Local Default Domain radio button and click Next.
  8. Enter the user name and password for the domain's administrator.

    If you accepted the default values during the installation, the user name is admin; the password is specified during installation.

  9. Click Finish.

To Start the GlassFish Application Server:

  1. In the Runtime window, right-click the GlassFish Application Server node and choose Start.
  2. Wait until the following message appears in the Output window:

    Application server startup complete.

    When the server is running, the IDE displays a green arrow badge on the GlassFish Server node.

  3. Before you create an Intelligent Event Processor Module Project, make sure the IEP Service Engine is started.
    1. Navigate to the Runtime window.
    2. Expand the JBI node until you can select the sun-iep-engine node.
    3. Right-click, and choose Start.