Hello,
I am working on a project that requires a rules engine to handle numerous rules for
approval chain determination. My main choice at the moment is JBoss Rules engine. One
issue came up though that I could not find a good answer in the documentation:
Is it possible to create rules programmatically via a public API? We already have a
(pretty complex) admin screen as part of our application where users can build conditions
and specify desired approval chains using the UI, integrated with all our back end stuff
(domain objects, permissions, common look&feel, etc.). It would be a huge overhead to
serialize these rules into DRL/XML files/streams and then have the rules engine parse them
again....
JSR94 solves the problem of handling rules once they are read from rule files, but there
is nothing about creating and persisting rules, unless I missed it.
thanks,
Marina