Show TOC

Understanding the Lean Rules EngineLocate this document in the navigation structure


Lean rules engine is a collection of java jar files, which can be embedded in any business application. In applications, it is used as POJO java libraries. Lean rules engine (LRE) available in the current release helps in executing business rules that are built on the SAP NetWeaver Business Rules Management capability, particularly, in specific scenarios as mentioned below.

  • If the rules have to be executed in a distributed environment, lifecycle management of rules content happen centrally using the CE infrastructure. However, rule execution happens in distributed nodes or devices in either a Java SE or a Java EE environment. For example, centrally modeled customer loyalty rules in CRM have to be executed in retail chain servers or in Point-of-sale (POS) terminals.

  • You are already using some other J2EE server in your application and have a rules driven user interface application running on this infrastructure.

  • You are not planning to use J2EE server, but you have a standalone/web based java application that uses business rules.

Lean Rules Engine is available as a standalone deployable component. The required SAP NetWeaver BRM rules engine libraries as well as the SAP Service Data Object (SDO) jar files are also available along with this Lean Rules Engine. Hence, LRE can be used in both SAP and non-SAP Java Enterprise Edition environment.

Components of SAP NetWeaver CE BRM

The components of SAP NetWeaver CE BRM, which help to perform the lifecycle aspects of rules like modeling, testing and runtime changes, are described below:

  • Rules Composer: This design time component is integrated into NW Developer Studio.

  • Rules Engine: This runtime component is available as a service in SAP NetWeaver CE.

  • Rules Manager: This runtime authoring tool is built on WD Java technology and integrated into NW Web AS.

  • Repository: This component is integrated into SAP NetWeaver CE, and used to manage customer business rules and their change history.

Characteristics of Lean Rules Engine

  • Embeddable: It has a small footprint in time (performance) and space (memory, disk space of less than 3 MB).

  • Distributable: It has a set of java libraries, which can be redistributed with the rule-intensive applications.

  • Java Platform Ubiquity: It is compatible with Java EE and SE environments, and can be extended to Java ME in future to support mobile scenarios.

  • Support for distributed execution: It supports scenarios where the business rules (rules content) are developed centrally, but the business rules are executed in a distributed environment.

  • Simple: It is easy to install, update and operate. It requires no changes in the existing approaches and practices to IT management in the customer landscape.