drools « Session « Java Enterprise Q&A





1. Is it possible to add a new rule to a running Drools session?    stackoverflow.com

Hey there, I've got a project at work that may require me to load/unload rules to a stateful Drools session during the run of the program. (Eventually using JMX, but for ...

2. Drools: How to continue session, but remove all objects?    stackoverflow.com

I really need help and advice.

  • I'm using StatefulKnowledgeSession();
  • in loop I want to check some objects (Listls);
  • I have more than one rule & files ( *.drl). (in rules ...

3. Drools: Using globals defined at session creation for newly inserted rules    stackoverflow.com

Right, I'm running Drools in a ordering program I'm making. I was asked to make rules loadable during run of the program via JMX. I take these in as a String ...

4. How do I add facts to working memory at runtime in the Drools DRL and retrieve them in the execution results of a stateless session?    stackoverflow.com

Background: I'm working on an application that transforms an input object into one of two output objects based upon a set of drools rules. The output object is not known until ...

5. How to apply rules to all the attributes of an object in the session?    stackoverflow.com

I was using a proprietary rule engine, and I am now trying to use Drools, i'm pretty new to Drools. With the previous rule engine, the rule were fired for all ...