Information Technology Reference
In-Depth Information
Configuring the deployment unit
Once the KIE Module project is compiled and installed in the Maven repository, we can
define an environment for it to run in a standardized way. This environment will be avail-
able from the Deploy | Deployments perspective in the KIE Workbench, and it is called
Deployment Unit .
A deployment unit is a specific configuration based on a KIE Module that will define one
KIE base, one KIE session, and one runtime manager type to define a way to run process
instances. A project might define multiple KIE bases or KIE sessions. Even if it defines
just one of each, you still might want to create different configurations whether you share
statuses between different process instances or not. Deployment units allow you to config-
ure these components to define the exact configuration in which specific instances will run
later on.
To configure a deployment unit, you need four things: a KIE Module, identified by a
Maven release ID, composed of group, artifact, and version, that can be defined in the pro-
ject editor seen in the previous chapter, a specific KIE base name (can be default), a specif-
ic KIE session name (can also be default), and a runtime manager type (can be singleton,
by process or by request). We'll look at runtime managers in more detail in Chapter 7 , De-
fining Your Environment with the Runtime Manager .
Search WWH ::




Custom Search