File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Drools implementation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Drools implementation problem" Watch "Drools implementation problem" New topic

Drools implementation problem

Dan Dobrescu

Joined: Jun 27, 2011
Posts: 1

I'm trying to implement Drools in our project, but I really don't know which method to adopt. First of all, our project is about creating marketing campaigns for mobile network operators. So, we've got a Web UI where we let the user define his own rules for the campaign.. Now.. here's my problem. Should i try to translate everything in the UI in a custom drl with a custom agenda-name (because there can be many custum campaigns with different flows), or should I create an object with different properties which should reflect the chosen options in the web-ui and then use it in my rules to create the behaviour?

If I should go with the first option, how can I store it? Should I store the drl in Guvnor(but the models my change from time to time.. not the attributes used in the rules, other attributes.. and I can't import several jars from an url to have access to the models, can I?) or in DB, and the dynamically add the rules at run-time?

I agree. Here's the link:
subject: Drools implementation problem