Shared Rules Engine
The Shared Rules Engine (SRE) component performs activity processing in the OIPA application. Activity processing manages insurance events. SRE loads a transaction and processes the data according to the business rules and math associated with the transaction The transaction, business rules and actual insurance data are retrieved from the database.
The above diagram shows a high level interaction between the calling application and SRE. OIPA calls SRE, provides input data, and implements interfaces to call back when additional date is needed by SRE. SRE does not directly make calls to the database, except for loading the transaction and rules associated with the current activity. When processing is complete, the results are packaged and returned to the calling application. Then, the results are committed to the database within a single database transaction.
It is important to note that the transaction XML is translated into a generated Java class that will be executed by SRE to ensure the best possible performance.
The following components of SRE come together in processing an activity:
- Processor
- Java code generator that includes a math translator
- Data access components implemented by OIPA to retrieve input data and persist results
- Application Process Executor (APE) business rules invoked by SRE
- SRE client-specific extensions