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




Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
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.