Databases Reference
In-Depth Information
Namespaces of events behave in the same way as namespaces in XML and identify
the solution area of the events and avoid clashes between events with the same name
that belong to different solution areas. For example, a namespace would differentiate
an event called NewOrder in a military command and control system from an event
called NewOrder in a logistics system.
Events are defined using an XML-based language called the
Event Description
Language
(
EDL
).
We can model business events from within JDeveloper by clicking on the event
icon on the top-left-hand corner of the composite editor as shown in the
following screenshot.
This brings up the
Create Event Definition File
dialog to allow us to create a new
EDL file to contain our event definitions.
After defining the
EDL File Name
, the
Directory
it resides in, and the
Namespace
of the EDL file, we can add events to it by clicking on the green plus symbol
.
This
takes us to the
Add an Event
dialog, where we can choose the XML
Element
that
represents the data content of the event and give the event a
Name
.