[rules-users] Re: Production rules vs. ECA Rules
Tomas Olsson
tol at sics.se
Thu Aug 2 07:40:48 EDT 2007
Hi,
I think one can say that in ECA there is a conceptually difference
between events and conditions. Events are modeled explicitly as a
separate concept outside the condition part. This can be
a nice for modeling since you can separate the "event" that triggers
rule execution from the internal conditions that governs what rules to
execute. I have a paper that describes an SLA evaluator in terms of ECA
implemented with Drools 2:
http://www.sics.se/spot/document/QoS_using_SLA.pdf (see page 8). In
short: the evaluator receives notifications and scheduled executions as
events and reacts to them.
Thus you can use JBoss Drools to implement ECA but you have to create
the event model yourself. In an ECA engine this is already done for you
and you get a language to somehow express the events.
/Tomas
qmars765 at gmx.de wrote:
> Hi Mark,
>
> in which constellations i should select ECAs? What is the difference between events in ECAs and the occurrence of a certain set of facts in WorkingMemory in case of production rules?
>
> In following document they classify ECAs and production rules both as reactive rules, but they state they are somehow different:
>
> http://www.pms.ifi.lmu.de/publikationen/PMS-FB/PMS-FB-2007-8/PMS-FB-2007-8-reactive-rules-on-the-web.pdf
>
> And they state that JBoss Rules is only for production rules.
> So can I use JBoss Rules for implementing ECAs?
>
> Thanks and best regards,
>
> Kioumars
>
>
> Date: Mon, 30 Jul 2007 19:20:51 +0100
> From: Mark Proctor <mproctor at codehaus.org>
> Subject: Re: [rules-users] Production rules vs. ECA Rules
> To: Rules Users List <rules-users at lists.jboss.org>
> Message-ID: <46AE2C03.8090701 at codehaus.org>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> ECA is really a specialised subset of Product Rules; focusing more on
> generic event generation and event handling.
>
> Mark
> qmars765 at gmx.de wrote:
>
>> Dear List,
>>
>> In JBoss Rules documentation it is written that they can be used for production rules. But I frequently read also in other sources about ECA rules.
>>
>> Is there any significant difference between “ECA†and “Production†Rules?
>> If yes, what?
>>
>> Thanks in advance for your feedback and best Regards,
>>
>> Kioumars
>>
>>
>>
>
>
More information about the rules-users
mailing list