Oracle CEP Server Overview

Oracle CEP IDE for Eclipse and Oracle CEP Servers 5-3 Oracle CEP IDE for Eclipse only shows limited Oracle CEP IDE for Eclipse operation messages in the console view. For more information, see: – Section 5.3.3, How to Attach to an Existing Local Oracle CEP Server Instance – Section 5.3.5, How to Detach From an Existing Oracle CEP Server Instance

5.2 Creating Oracle CEP Servers

Creating a server allows you to start and stop the server instance from within the Oracle CEP IDE for Eclipse, as well as automatically deploy your applications to that server. You can create a local or remote Oracle CEP server: ■ Local server: a local Oracle CEP server is one in which both the server and server runtime are on the same host ■ Remote server: a remote Oracle CEP server is one in which the server and server runtime are on different hosts. The server is on a remote host and the server runtime is on the local host the host on which you are executing the Oracle CEP IDE for Eclipse. This section describes: ■ Section 5.2.1, How to Create a Local Oracle CEP Server and Server Runtime ■ Section 5.2.2, How to Create a Remote Oracle CEP Server and Server Runtime ■ Section 5.2.3, How to Create an Oracle CEP Server Runtime

5.2.1 How to Create a Local Oracle CEP Server and Server Runtime

This section describes how to create both a local server and server runtime. After creating the initial server and server runtime, you can create additional server runtimes. A local Oracle CEP server is one in which both the server and server runtime are on the same host. Alternatively, you can create a remote server and server runtime. For more information, see: ■ Section 5.2.3, How to Create an Oracle CEP Server Runtime ■ Section 5.2.2, How to Create a Remote Oracle CEP Server and Server Runtime To create a local Oracle CEP server and server runtime: 1. Select Window Show View Servers. The Servers view appears as shown in Figure 5–1 . 5-4 Oracle Complex Event Processing Developers Guide Figure 5–1 Oracle CEP IDE for Eclipse Server View

2. Right-click in the Servers view pane and select New Server.

3. Consider whether or not server runtimes have been created:

a. If this is the first time you have created an Oracle CEP server, there will be no

installed server runtimes. Proceed to step 4.

b. If this is not the first time you have created an Oracle CEP server, there will be

one or more installed server runtimes. Proceed to step 5.

4. If this is the first time you have created an Oracle CEP server, there will be no

installed server runtimes: In this case, the New Server: Define New Server dialog appears as Figure 5–2 shows. Figure 5–2 New Server: Define New Server Dialog No Installed Runtimes Configure the new server as follows: Oracle CEP IDE for Eclipse and Oracle CEP Servers 5-5 a. Configure the dialog as shown in Table 5–2 .

b. Click Next.

The New Server: New Oracle CEP v11 Runtime dialog appears as shown in Figure Figure 5–3 . Figure 5–3 New Server: New Oracle CEP v11.1 Runtime Dialog c. Configure the dialog as shown in Table 5–3 . Table 5–2 New Server: Define New Server Dialog No Installed Runtimes Attributes Attribute Description Server’s host name The host name of the computer on which you installed Oracle CEP server. For development, this will typically be localhost. Select the server type The type of Oracle CEP server. In this example, choose Oracle CEP v11 Server name The name of this Oracle CEP server. Default: Oracle CEP v11.1 at HOSTNAME Where HOSTNAME is the value you entered in the Server’s host name field.