I don't know whether this is the "better (than rule templates) generic way"
you
are hinting at, but I've been extending the template mechanism with a
feature
permitting expansion from objects - maps or bean-style. This means that
you can take a rule template file and instantiate its rule(s) from a
collection of
such objects.
Is this closer to what you're looking for?
-W
2009/3/30 Meny Kobel <meny.kobel(a)gmail.com>
Hi,
Could you please advice which is the best way to build Drools packages?
I need to read the rules from database and I have to build drools packages.
The content of the rules is very flexible :
1. I don't know the number of rules.
2. I don't know rule data: the type name, operation and value.
3. I do know the maximum number of types and operations the system support.
How should I build the packages:
Should I write component that will read the rules from database and will
transform it to drl file?
Any API I can use - Maybe BRMS API?
I'm a ware of "rule templates" but I need a better generic way...
Thanks,
Meny
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users