An accounting application populates a report with transactions over $1000 using the
The rule is executed with RetePlus algorithm. At run time, the working memory
typically contains 50 Account instances and 10000 Transaction instances that are
mostly less than $1000. In order to reduce the execution time for this rule, what will
be the most effective change?
A. Reorder the conditions to:
?t: Transaction(account.id == ?a.id; amount >1000);
B. Use the from keyword:
?t: Transaction(amount > 1000);
A company offers online shopping through a web portal. It has two types of clients:
individuals and wholesalers. For both of them the company offers discounts through
a business rule application. Wholesalers have to be enabled to call the discount
rules remotely, from their own offices, by using their current applications and
systems. The developer discovers that those wholesalers' systems use a variety of
platforms and applications (.NET, Java, and so on) inside well protected intranets.