Alex Rivera | Logout

Drools: storing rules in database

Asked 2010-12-08T21:41:40.317
15

Currently I store all rules files on the file system (there are lots of versions of them) and load the different versions of them into memory at startup. I would like to change to storing my drools files in a database and was wondering if there is any solution or addon to Drools which facilitates this or should I craft my own?

Thanks.

Edit
Report

1 Answer

1

I also faced same scenario. I stored all Rule files in database.

When loading rules at application startup, I got the rules from database and stored them in temporary folder for compiling and putting them in Rule Base.

If your rule changes during running application, update the changed rule in Rule Base with the same way.

answered 2010-12-10T04:22:39.813

Your Answer