[rules-users] -Doubt using HSSFWorkbook and multiple inputs

Fnu Mahalakshmi FMahalakshmi at nyx.com
Fri Jun 4 09:26:46 EDT 2010


Hi,

I have a real basic question about the working of drools.
I figured it to be this way:
We load our input data (our facts) - fire the rules on this data - get the modified out put in our output file.
Doubt:
I am reading all my input data from a text file.
1. How can I load all the data contained in my text file into the memory at the same time? Like we used HSSF workbook concept for the excel file?
And fire all the rules at the data at once.?
2. Again When I have multiple input files, Shouldn't I be loading all the input files in the memory and firing rules on them? How can I do that? I should have different test files for different input datasets?? (for example like the ExcelDataRulesTest.java file in the example)

I am still stuck with the procedural way of thinking- read lines and run rules and generate output.

Please help!!! I am really new to this and going round and round.

Thank you.
M
</pre>

<P><hr size=1></P>
<P><STRONG><font color=green>Please consider the environment before printing this email.</font></STRONG></P>
<P><STRONG>Visit our website at <a href="http://www.nyse.com">http://www.nyse.com</a> <br>

*****************************************************************************
<br>
Note:  The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system.  Thank you.  NYSE Euronext.

</STRONG></P><pre>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100604/8b81a022/attachment.html 


More information about the rules-users mailing list