I am using Drools 4.0.3 in my application in which I am generating the rule file from the front end.
I made my application in such a way that I can change my rule file during the runtime (i.e. server is running).
Each time when I submit my test form (on which validation is happening), the application executes from starting.
For this I am using "StatefulSession" and at the end of the program I am using "dispose" method to finish the session and I am using a "singleton" class in which in the constructor I am creating the "PackageBuilder" instance and loading a functionfile (which contains all the functions for the rules that I may include in my application at run time) only once per server start and shutdown. The functionfile is not going to change through out
the application.
My problem is that when I change my rule file at the runtime ,the rule file contents are changing accordingly but the validation is happening according to previous rules.
Now what can I do to come out from this problem?
Can I use "StatelessSession" ? If yes then please brief me that how can I use "AgendaGroup" with "StatelessSession" .
Any help will be appreciated.