[rules-users] newbie question about KnowledgeBuilder

kenatnielsen kenneth.mcarthur at nielsen.com
Mon May 19 11:13:19 EDT 2014


Hi,

I'm inheriting Drools 6.0 application where all rules are in one huge drl
file.  Would behavior be different if I broke rules into multiple files and
loaded with multiple calls to KnowledgeBuilder.add()?

Also, KnowledgeBuilder is being created with each session:
KnowledgeBuilder.newKnowledgeBuilder() and then knowledgeBuilder.add(). 
Since rules don't change, any reason why can't create KnowledgeBuilder at
startup and share it?  Is it thread safe and can it be re-used?

Thanks,
Ken



--
View this message in context: http://drools.46999.n3.nabble.com/newbie-question-about-KnowledgeBuilder-tp4029604.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list