Drools: storing rules in database

前端 未结 5 860
温柔的废话
温柔的废话 2021-01-31 11:51

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

5条回答
  •  猫巷女王i
    2021-01-31 12:18

    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.

提交回复
热议问题