<br><font size=2 face="sans-serif">Can anyone explain/example how to use
changeset.xls to integrate with the rules I have written in Guvnor.Need
to use Drools API for Integrating rules with java application</font>
<br>
<br>
<br><font size=2 face="sans-serif">At present am using the below code</font>
<br>
<br><font size=2 face="Courier New">Properties properties = </font><font size=2 color=#820040 face="Courier New"><b>new</b></font><font size=2 face="Courier New">
Properties();</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; InputStream
stream = rulesServlet.</font><font size=2 color=#820040 face="Courier New"><b>class</b></font><font size=2 face="Courier New">.getResourceAsStream
(</font><font size=2 color=#4200ff face="Courier New">&quot;/com/opensource/rules.properties&quot;</font><font size=2 face="Courier New">);</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; properties.load(stream);</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RuleAgent
agent = RuleAgent.<i>newRuleAgent</i>(properties);</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RuleBase
base = agent.getRuleBase();</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FactType
customer = base.getFactType(</font><font size=2 color=#4200ff face="Courier New">&quot;myPackage.Customer&quot;</font><font size=2 face="Courier New">);</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Object
cust1 = customer.newInstance();</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; customer.set(cust1,
</font><font size=2 color=#4200ff face="Courier New">&quot;totalIntemsPrice&quot;</font><font size=2 face="Courier New">,
price);</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base.newStatelessSession().execute(cust1);</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.</font><font size=2 color=#0021bf face="Courier New"><i>out</i></font><font size=2 face="Courier New">.println(</font><font size=2 color=#4200ff face="Courier New">&quot;Discount
is a &quot;</font><font size=2 face="Courier New">+ customer.get(cust1,
</font><font size=2 color=#4200ff face="Courier New">&quot;discount&quot;</font><font size=2 face="Courier New">));</font>
<br>
<br><font size=2 face="Courier New">The documentation is not pretty clear.</font>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Nilima<br>
____________________________________________<br>
Experience certainty. &nbsp; &nbsp; &nbsp; &nbsp;IT Services<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Business Solutions<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Outsourcing<br>
____________________________________________</font><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


</pre>