Hi Wolfgang,
Thanks for your information. Can you tell me more about how to build the knowledge base off line? And how to load the serialized object during startup? What I usually do is put the following code fragment into the init(...) method of the Servlet first and it will be invoked during application Startup.
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "BenAgent" );
kagent.applyChangeSet(ResourceFactory.newClassPathResource("change-set.xml"));
KnowledgeBase kbase = kagent.getKnowledgeBase();
ResourceFactory.getResourceChangeNotifierService().start();
ResourceFactory.getResourceChangeScannerService().start();
getServletContext().setAttribute("KNOWLEDGE_AGENT", kagent);
Please comments
Thanks
Consider building the Knowledge Base off-line and to load the serialized object during application startup.
-W2011/1/27 Benson Fung <benson.redhat@gmail.com>
Hi,_______________________________________________
I need to import a drl file with 9000 rules inside into BRMS. However, I found that it takes very long time to import and it also takes long time to get downloaded into the application to build the ruleBase. Is there any smart way or faster way to manage this procedure? Please advise
Thanks
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users