Release Notes

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

New and Changed Features in Oracle CEP 3.0

The following sections describe the new and changed features in Oracle CEP 3.0:

 


New Features in Oracle CEP 3.0

Version 3.0 of Oracle CEP includes the following new features:

Multi-Servers and Clustering

You can now configure multiple servers in an Oracle CEP domain, and cluster them together to achieve high availability.

See Configuring and Using Oracle Complex Event Processing Clusters.

Caching

Oracle CEP applications can optionally publish or consume events to and from a cache to increase the availability of the events and increase the performance of their applications. A cache is a temporary storage area for events, created exclusively to improve the overall performance of your application; it is not necessary for the application to function correctly.

See Using Oracle CEP Caching.

Record and Playback of Events

The event repository feature of Oracle CEP allows you to record events flowing through an event processing network (EPN) and store them so you can later play back the events. The event repository is configured per stage, such as a processor or stream.

See Record and Play Back Events Flowing Through an EPN in the Visualizer Online Help document.

Visualizer Administration Console

Oracle CEP Visualizer, henceforth called Visualizer for simplicity, is a Web 2.0 application that consumes data from Oracle CEP, displays it in a useful and intuitive way to system administrators and operators, and, for specificied tasks, accepts data that is then passed back to Oracle CEP so as to change it configuration.

See Overview of Visualizer.

HTTP Publish-Subscribe Adapter

An HTTP Publish-Subscribe Server is a mechanism whereby Web clients, such as browser-based clients, subscribe to channels, receive messages as they become available, and publish messages to these channels, all using asynchronous messages over HTTP. Every instance of Oracle CEP includes a pub-sub server that programmers can use to implement HTTP publish-subscribe functionality in their applications.

See Using and Creating HTTP Publish-Subscribe Adapters.

JMS Adapter

Oracle CEP provides both inbound and outbound JMS adapters that you can use in your event applications to send and receive messages to and from a JMS queue, respectively, without writing any Java code.

See Using JMS Adapters.

Configuration Wizard for Creating Domains

The Configuration Wizard is a new tool for creating Oracle CEP domains.

See Creating a Domain Using the Configuration Wizard.

Event Processing Language (EPL) New Features

The event processing language (EPL) has the following new features:

Security New Features

No documentation available for Beta.

 


Changed and Deprecated Features in Oracle CEP 3.0

Version 3.0 of Oracle CEP includes the following changed and deprecated features:

Simpler Helloworld Example

The HelloWorld example has been simplified in the following ways:

See HelloWorld Example.

Programming Model

The Oracle CEP programming model has changed in the following ways:

See Overview of the Oracle CEP Programming Model.

Domain Directory Structure Changes

So as to support clustering and a multi-server environment, the directory structure of the out-of-the-box and sample domains has changed.

Previously, all domain files were located directly under the domain directory, such as BEA_HOME/wlevs30/samples/domains/helloworld_domain, where BEA_HOME refers to the top-level installation directory of Oracle CEP.

In the 3.0 release, the domain directory contains one or more sub-directories that correspond to a single server; this directory contains all the configuration files for that server. For example, the HelloWorld domain contains a single server whose configuration files are located in the following directory: BEA_HOME/wlevs30/samples/domains/helloworld_domain/defaultserver.

The new Configuration Wizard for creating domains follows this updated directory structure.

See Creating an Oracle Complex Event Processing Domain.

New and Deprecated Options in the Deployer Tool

The -start and -stop commands of the Deployer tool have been deprecated.

When using the -install command to install an application, Oracle CEP automatically starts it after all internal initialization tasks have completed. Subsequently, if you stop and start the Oracle CEP server instance, the application is automatically stopped and started, respectively.

The Deployer tool has two new options: -suspend and -resume. Users should use -suspend to suspend a currently running application, and -resume for it to resume running.

See Deployer Command-Line Reference.

Changes in Management, Monitoring, and JMX

No documentation available for Beta.

Changes in Logging

No documentation available for Beta.

 


Upgrading a 2.0 Application to run on Version 3.0 of Oracle CEP

This section describes the steps you must take to upgrade an application that you developed in Version 2.0 of Oracle CEP (previously called WebLogic Event Server) so that it runs on Version 3.0.

  1. Update the MANIFEST.MF file to import new versions of Spring framework and Oracle CEP packages, as well as new required packages. In paticular:
    • Update the version of all imported Spring framework packages to 2.5.5. For example:
    • Import-Package:
      org.springframework.aop.framework;version="2.5.5",
      org.springframework.aop;version="2.5.5",
      ...
    • Update the version of any imported Oracle CEP packages to 3.0.0.0. For example:
    • Import-Package:
      com.bea.wlevs.ede;version="3.0.0.0",
      com.bea.wlevs.ede.api;version="3.0.0.0",
      ...
    • Add the following packages to the Import-Package header if they are not already included:
    • Import-Package:
      com.bea.wlevs.management.configuration.spi;version="3.0.0.0",
      com.bea.wlevs.management.spi;version="3.0.0.0",
      com.bea.wlevs.monitor;version="3.0.0.0",
      com.bea.wlevs.spi;version="3.0.0.0",
      com.bea.wlevs.spring.support;version="3.0.0.0",
      commonj.work;version="1.4.0.0",
      org.springframework.osgi.extensions.annotation;version="1.1.0",
      com.bea.wlevs.ede.spi;version="3.0.0.0",
      com.bea.wlevs.configuration.internal;version="3.0.0.0",
      ...
  2. If you use Spring or Spring Dyanmic Modules for OSGI (Spring DM) features in your application, it is possible that the declaration of the features in the Spring application context file has changed. If this is the case, you must update these declarations in the EPN assembly file of your Oracle CEP application.
  3. Note: This change is a result of the upgrade of the Spring framework (from 2.0 to 2.5) that occurred between WebLogic Event Server 2.0 and Oracle CEP 3.0, not as a direct result of the Oracle CEP upgrade.

    Refer to the appropriate 2.5 XSD Schemas for any changes:

    Spring: http://www.springframework.org/schema/beans/spring-beans.xsd

    Spring DM: http://www.springframework.org/schema/osgi/spring-osgi.xsd

    The following bullets list some of the typical changes you might have to make; the following list is not complete.

    • When specifying a property to the <osgi:service-property> tag, use the <entry> tag with the key and value attributes, rather than the old <prop> tag. For example, update the following 2.0 tag:
    •  <osgi:service-properties>
      <prop key="type">SocketAdapterType</prop>
      </osgi:service-properties>

      to:

       <osgi:service-properties>
      <entry key="type" value="SocketAdapterType"/>
      </osgi:service-properties>
    • The value or ref attribute of an instance-property must always be set to an explicit value; it can no longer be an empty string to indicate an implicit use of a default value. For example, update the following 2.0 tag:
    •  <wlevs:adapter id="fileAdapter" provider="FileAdapterType">
      <!-- file: empty value uses default
      <wlevs:instance-property name="file" value="" />
      <wlevs:listener ref="algoTradingProcessor"/>
      </wlevs:adapter>

      to something like the following:

       <wlevs:adapter id="fileAdapter" provider="FileAdapterType">
      <wlevs:instance-property name="file" value="test.file" />
      <wlevs:listener ref="algoTradingProcessor"/>
      </wlevs:adapter>

After you have made the preceding changes, reassemble the application and deploy it to Oracle CEP 3.0. See Assembling and Deploying Oracle Complex Event Processing Applications.

If, during deployment, you get an exception that indicates that a package is invisible, add this package to the Import-Package header of the MANIFEST.MF file, then reassemble and redeploy the application. Keep adding packages in this manner until the application deploys successfully.

 


Backward Compatibility

No documentation available for Beta.


  Back to Top       Previous  Next