Posts tagged cep

AMIS Mobile SIG – rain sensors pouring data into the mobile network

Last night, the AMIS Mobile Special Interest Group convened. This session had as objective to explore the many different mobile agents and devices that we encounter, the types of signals, information and functions that are relevant with these various agents and the impact their inclusion in the mobile sphere of our customers has on the enterprise applications and architecture.

Our guest speaker – Rolf Hut of the Faculty of Civil Engineering and Geosciences – did an excellent job of introducing a new class of mobile agents with his presentation on hydro-meteorological stations. He even had us all build rain-sensors, from easily accessible and very cheap materials. 10 minutes of super-glueing, soldering and kindergarten-level handcrafting was all it took for 6 teams to create a sensor that could be connected to a laptop to register simple signals.

Image

From this very practical example, it was not hard to envisage a wide network with hundreds or thousands of devices that report findings – to be processed by the backend infrastructure.

Image

See Rolf presenting on YouTube: http://www.youtube.com/watch?v=Nh7GDD3Ssr8&feature=player_embedded#at=44.

Read the rest of this entry »

JavaOne 2010 presentation: Why and how to engage a Complex Event Processor from a Java Web Application

Complex Event Processors are capable of handling large volumes of events – by filtering, aggregating or detecting patterns. Java Applications use a CEP to pre-process incoming signals. These applications can also generate the events – for example the user click and navigation behavior in the web application – and report them to the CEP. The web application can subsequently utilize the outcomes from the CEP to for example intelligently guide the user or present relevant details. This session shows various ways in which a CQL based CEP can be integrated into a Java application to enhance the web application’s behavior.
The intended audience for this presentation consists of experience Web Java and Enterprise Java developers.
- introduction to Complex Event Processing
- demonstration of CQL event processing on events arriving on JMS
- discussion of how the web application can absorb the CEP results
- demonstration of a simple Web Shop application that published events to the CEP and utilizes the CEP results
- discussion on when and how CEP can add value to Java applications

Oracle Advanced Queuing and JMS – bridging from AQ to JMS and vice versa

In preparation for our Oracle Open World session ‘Xenogenetics for PL/SQ – Infusing with Java Best Practices and Design Patterns’ – I have been doing a little work on Advanced Queuing in the Oracle RDBMS, as well as on Java Stored Procedures. The objective of this presentation is to bring best practices, design patterns as well as new functionality to the world of PL/SQL from other worlds, such as Java. Interaction between database applications and the rest of the world is an important part of that. And such interaction, especially when we have a need for decoupled interaction, which we frequently should have, Advanced Queues will be used at the database end to support that interaction.

The concept of queuing – and more generally: messaging – has its Java counterpart in JMS, the Java Message Service. The question I then asked myself is: how exactly can I map AQ to JMS and how can I link the two worlds. How can I expose the AQ Queue or Topic in the RDBMS as a JMS Queue or Topic? And how can I consume messages from JMS into the database, possibly to AQ?

AQandJMS

One of my reasons for making the connection between AQ and JMS has to do with another presentation at OOW I will deliver, introducing Complex Event Processing. The database – for example database triggers – is an excellent source for events. And one fine way to database applications to publish their events is through AQ. However, Oracle CEP does not directly tie into AQ, but it does interact with JMS Queues and Topics as event source. By linking AQ to JMS, I can indirectly link AQ to CEP.

Read the rest of this entry »

Complex Event Processing – Java Magazine – Sources & References

This article contains the resources for an article on Complex Event Processing (using Oracle CEP) that is published in the March 2010 issue of the Dutch Java Magazine. This article describes the interaction between CEP and Java Applications, using examples of temperature sensors that are monitored (aggregating their readings and looking out for any broken sensors) and web shops that try to determine the most popular and the most efficient search terms as well as the search terms that are quite useless (as they never result in a transaction).

The article is in Dutch – it will be made available for download later on. Note that it is based on Chapter 19 in the upcoming Oracle SOA Suite 11g Handbook (Oracle Press, due Summer 2010).

Sources

Temperatuur Simulator en Temperatuur Sensor Processor: TemperatuurSensorenSimulatorEnProcessor

WebApplicatie Analyzer: WebWinkelAnalyse.zip

References & Resources

Download Oracle CEP en CEP Plugin for Eclipse:

Oracle CEP Server: http://www.oracle.com/technology/software/products/cep/index.html

Oracle CEP Plugin voor Eclipse: http://download.oracle.com/technology/software/cep-ide/11/

Installatie instructies:

Setting up your development environment:http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14476/examples.htm#i1013710

Configuring Eclipse:http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14301/ide_intro.htm#CHDDAADG

Creating CEP Servers in Eclipse:http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14301/ide_serv.htm#CHDEJEHC

Documentatie voor CEP ontwikkelaars:

CEP Getting Started:http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14476/toc.htm
Administrator’s Guide:http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14300/toc.htm
IDE Developer’s Guide (Eclipse):http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14301/toc.htm
CQL Language Reference:http://download.oracle.com/docs/cd/E15523_01/doc.1111/e12048/toc.htm
CEP Java API Reference:http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14303/toc.htm