Hi,

I am pleased to announce that I have a working rule engine integration
between JBoss and JEOPS (http://sourceforge.net/projects/jeops/).  I have
made the source available at http://home.earthlink.net/~davidjencks/. 
There are tar.gz and zip versions.  Please follow the instructions in the
README.  You may need to change executable permissions on some scripts to
get the examples to run.

I would greatly appreciate all feedback positive and negative, and examples
of how a rule engine could be useful.  The examples I have so far are
derived from the jeops examples, and are a bit artificial for ejb: they
compute factorials and fibonacci numbers.  They do serve as an example of
essentially computing a transitive closure, not possible with simple
queries.

This implementation is similar to database triggers, in that rule engine
interaction is not coded explicitly but triggered by calling an ejb method:
an interceptor detects the call and passes it to the rule engine.

The implementation is fully transactional: all work (including creating new
beans, etc) is done within the original transaction provided by the
original method call. ( A REQUIRES_NEW call in the middle of rule engine
work will get a separate rule engine instance, not interfering with the
original transaction).

Jeops is somewhat unusual among rule engines in that rather than operating
on tuples of values and interpreting rules, it operates on java objects (in
this case remote interfaces) and compiles the rules into a java class.

The main problem I am aware of at this time is that the implementation is
extremely slow.  This is only partly due to the very large amount of
logging information generated.  I have not yet investigated how to speed
things up.

Please, try it out, tell me how it works, and what more is needed.


Thanks
David Jencks


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to