jBPM provides deployment mechanism that is based entirely on Maven artifacts. These artifacts known as kjars are jar files that include a descriptor for KIE system to provide KieBase and KieSession. A KIE project or module is a Maven Java project or module, with an additional metadata file META-INF/kmodule.xml.
kmodule.xml allows to define:
- knowledge bases and their properties
- knowledge sessions and their properties
- work item handlers
- event listeners
The kmodule.xml file is the place where it is possible to declaratively configure the KieBase(s) and KieSession(s) that can be created from a KIE project.