[rules-users] Push model for rule updates?

Blythe, Marshall Blythm1 at labcorp.com
Tue Sep 29 11:21:01 EDT 2009


Has anyone successfully implemented a push model for updating rules in a Drools 5.0 application? Here's what I'd like to do:


1.       Rules will be authored out-of-process, and serialized KnowledgePackages will be stored in a database.

2.       When the client application starts up (i.e. a regular servlet-based app) it will fetch the KnowledgePackages from the database and use them to configure a singleton KnowledgeBase instance.

3.       A special UI in the client application will allow authorized users to upload new KnowledgePackages. When new packages are uploaded they are first persisted in the database and then used to update the KnowledgeBase at runtime. All subsequent calls to fireAllRules() should use the rules in the new package.

If anyone has done something like this before then I'd appreciate some advice on how to manage updates to the KnowledgeBase at runtime.
----------------------------------------- This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the LabCorp Privacy Officer at privacyofficer at labcorp.com or call (877) 23-HIPAA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090929/f2637ba3/attachment.html 


More information about the rules-users mailing list