Okay...

It should now be possible to write rules with Java semantics.  We
still don't have a convenient rules-file interface, but using the
API, you can create several types of Java FactExtractors.

There's a Darn Simple One, where you get an object, cast it, and do
whatever you want to with it.

There's an introspecting JavaBeanFactExtractor, that uses the
jakarta-commons BeanUtils package.  Given an object, follow any arbitrary
JavaBean property chain to extract some info.

It should now be possible for You to write your own file format that
you read and construct JavaBean property-based rules, if you like.
You'll have to figure out whatever you want to do with the actions.

I'm still working on the full Java parser semantics, which will then
provide a complete Java language based file format for conditions
and actions.  

Probably not today, though.

        -bob


_______________________________________________
drools-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/drools-interest

Reply via email to