<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText24523 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><FONT face=Arial color=#000000 size=2>Hello all,</FONT></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText72765 dir=ltr>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I am using Drools 4.0.3 in my application in which I am generating the rule file from the front end.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I made my application in such a way that I can change my rule file during the runtime (i.e. server is running).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Each time when I submit my test form (on which validation is happening), the application executes from starting.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>For this I am using "<STRONG>StatefulSession</STRONG>" and at the end of the program I am using "<STRONG>dispose</STRONG>" method to finish the session and I am using a "<STRONG>singleton</STRONG>" class in which in the constructor I am creating the "<STRONG>PackageBuilder</STRONG>" instance and loading a functionfile (which contains all the functions for the rules that I may include in my application at </FONT><FONT face=Arial size=2>run time) only once per server start and shutdown. The functionfile is not going to change through out</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>the application.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>My problem is that when I change my rule file at the runtime ,the rule file contents are changing accordingly but </FONT><FONT face=Arial size=2>the validation is happening according to previous rules.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Now what can I do to come out from this problem?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Can I use "<STRONG>StatelessSession</STRONG>" ? If yes then please brief me that how can I use "<STRONG>AgendaGroup</STRONG>" with "<STRONG>StatelessSession</STRONG>" .</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Any help will be appreciated.</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature6756 dir=ltr>
<DIV><FONT face=Arial size=2><EM><STRONG>With Regards</STRONG></EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><STRONG>Prateek</STRONG></EM></FONT></DIV></DIV></FONT></DIV></DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
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. <br>
<br>
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.<br>
<br>
www.wipro.com<br>
</font></td></tr></table>