This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
as a new user of Drools, one of the things I find confusing is how different rules sources are loaded.
Packages and packages stored on a BRMS server seemed to be generally loaded by supplying a properties object to the newRuleAgent() method, while drl files seem to be loaded using a FileInputStreams.
However, I have also successfully loaded a drl file using a properties file and passing it to the newRuleAgent() method.
Is this inadvisable?
Any comments would be welcome.
Thanks in advance!
posted 7 years ago
to elaborate on this question - here is an example of how drl files seem to be usually loaded into the rulesbase:
and here is the way I've been doing it:
where is the drl compiled in this method? Is there any significant performance impact?