RE: [rules-users] rule using sliding window

2009-06-01 Thread Bhushan Bhangale
in your running environment memory, you need to design a solution that comprises persistence. > Also since every record is getting stored in database, can I not use the database directly instead of sliding window? Yes, you can fetch data on demand from external sources, be it databases or anything

[rules-users] rule using sliding window

2009-06-01 Thread Bhushan Bhangale
I am using Drools 5. I am struggling to write rule for this logic - If a stock price changes more than 10% within an hour then report the change. I understand I have to use sliding window feature but unable to write the rule. For example I got an update for IBM stock @ 12:30 for price 100 and th

RE: [rules-users] can drools support complex rules

2009-05-19 Thread Bhushan Bhangale
d to use sliding windows, just to show how that feature can be used to simplify rules, but again, there are several ways of doing it. I strongly recommend you read Drools manual. http://www.jboss.org/drools/documentation.html Cheers, Edson 2009/5/19 Bhushan Bhangale Hi, I recently came

[rules-users] can drools support complex rules

2009-05-19 Thread Bhushan Bhangale
Hi, I recently came across Drools. I gone through the documentation and the examples provide are quite simple. I want to know if it can be really applied to complex real world problems. Take for example, If a customer login within 5 minutes from two different locations, mark the user in