Drools - centralize rules without centralizing the domain model
We have set up a SOA with a few common framework pojos and a lot of service-specific pojos. I now want to set up drools brm, preferably with guvnor. We cannot refactor the models to get one central domain model (and we dont really want to, since we try to keep inter-service-dependencies minimal).
Since I can model Fact-structures in drools directly, 开发者_开发百科I started thinking if the common model is necessary at all ... what is your opinion/experience?
Would creating a guvnor package (=module) of assets (=rules) per subset of all domain objects work? Each package (=module) has it's own deployment lifecycle.
精彩评论