rules assembly

A technique that can improve system performance, rules assembly involves generating and compiling Java code corresponding to a rule at the moment that the Java code is first needed to execute, rather than in advance.

This late-binding technique avoids the cost of creating and compiling code that is never used, and can produce more efficient Java code than "generation at Save..." approach.

A second use of the rule (by the same requestor or another requestor with the same ruleset list and on the same node) executes the precompiled Java code for the rule, so rules assembly is sometimes called first-use assembly (or fua) .

PRPC generates rules-assembly Java for activities, stream rules, most decision and declarative rule types, parse rule types, and others. Select Actions > View Java to view an approximate preview of the run-time Java generated by the rules assembly facility. (The final Java may have additional inlining and optimizations, and reflects the ruleset list of the user.)

Rules assembly and performance

Rules assembly can impact performance. These facilities help identify how many different ruleset lists are being used on your system and the rules assembly impact.

 

Notes:

Related Topics IconRelated terms