Hello all,
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.
With Regards
Prateek
The information contained in this electronic message and any attachments to this message
are intended for the exclusive use of the addressee(s) and may contain proprietary,
confidential or privileged information. If you are not the intended recipient, you should
not disseminate, distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this
email and any attachments for the presence of viruses. The company accepts no liability
for any damage caused by any virus transmitted by this email.
www.wipro.com