[rules-dev] Query on drools

praveen p p.praveenn at gmail.com
Fri Apr 1 02:40:32 EDT 2011


Hi,

I'm not using drools to generate data, a java program would do that. I just
want to know whether the java program can connect to drools, fetch
corresponding rules from it and generate data based on the rule fetched(the
conditions for data generation and the upper and lower limits come from
rules). Please let me know if this is possible.

Regards,
Praveen.



On Tue, Mar 29, 2011 at 7:17 PM, Wolfgang Laun <wolfgang.laun at gmail.com>wrote:

> Rules do not generate data. Rules can tell you whether existing data meets
> conditions. Now if you create test data randomly, you can run a rule base
> with this data, and at the end of the day, you will know whether you have a
> data set matching a certain rule - or not. But I don't think that this
> approach is the way you should go.
> -W
>
>
>
>
>   On 29 March 2011 15:12, praveen p <p.praveenn at gmail.com> wrote:
>
>>   Hi,
>>
>>
>>
>> We need to make a decision on whether to use Jboss drools for our project,
>> please help me out on this. We are planning to develop a tool which
>> generates random test data based on some conditions. These conditions can be
>> something like age>18<60, 6 lettered string containing only first four
>> letters of an alphabet, Amount=Price*quantity. We are planning to store
>> these conditions in drools rule engine and generate data based on them. The
>> java application has to connect to drools, fetch the rule associated with a
>> property, get back to java layer and generate some output based on these
>> rules. Is this possible using drools? Please let me know the possibility and
>> provide some clarity on it.
>>
>>
>>
>> Regards,
>>
>> Praveen.
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>
>>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110401/4f254979/attachment.html 


More information about the rules-dev mailing list