3.4. New wrapper modules
Red Hat Decision Manager 7.10 now includes wrapper modules that you can use to reduce overhead and improve the maintenance of Drools engine. There is an ongoing effort to refactor Drools engine by identifying and descoping optional features that are unrelated to the internal algorithm of the engine. Drools engine uses MVEL for DRL parsing, constraints evaluation, and templates generation. Usages of MVEL are isolated in a new drools-mvel module. Drools engine implements KieSessions serialization with protobuf to ensure better backward compatibility. This serialization feature is isolated in the drools-serialization-protobuf module.
You can add drools-mvel and drools-serialization-protobuf modules to your project classpath.
Red Hat Decision Manager now provides the following new wrapper modules:
-
drools-engine: Contains
drools-core,drools-compiler, anddrools-model-compilerdependencies -
drools-engine-classic: Contains
drools-core,drools-compiler, anddrools-mveldependencies
To use the Drools engine with the executable model, you must include the drools-engine wrapper module in your project dependencies. To use the Drools engine without the executable model, you must import your dependencies to the drools-engine-classic wrapper module.