CDI and Java EE Integration
The eximeebpms-engine-cdi and eximeebpms-engine-cdi-jakarta modules provide programming model integration with CDI (Context and Dependency Injection).
CDI is the Jakarta EE/Java EE standard for Dependency Injection. The EximeeBPMS CDI integration leverages both the configuration of the EximeeBPMS engine
and the extensibility of CDI. The most prominent features are:
- A custom El-Resolver for resolving CDI beans (including EJBs) from the process.
- Support for
@BusinessProcessScopedbeans (CDI beans, the lifecycle of which are bound to a process instance). - Declarative control over a process instance using annotations.
- The Process Engine is hooked-up to the CDI event bus.
- Works with Jakarta EE, Java EE, and Java SE.
- Support for unit testing.
Maven Dependency
To use the eximeebpms-engine-cdi module inside your application, you must include the following Maven dependency:
<dependency>
<groupId>org.eximeebpms.bpm</groupId>
<artifactId>eximeebpms-engine-cdi</artifactId>
</dependency>
For Jakarta EE 9+ containers, use the following dependency instead:
<dependency>
<groupId>org.eximeebpms.bpm</groupId>
<artifactId>eximeebpms-engine-cdi-jakarta</artifactId>
</dependency>
