Configuring Rule Execution Server in scoped mode
When the default configuration in shared mode is not appropriate for your use case, you can configure Rule Execution Server so that it is scoped to a single Java™ EE application.
About this task
By default, when you follow the configuration guide for your application server, you configure Rule Execution Server in shared mode.
For example, see Deploying the XU RAR for a WebSphere® Application Server configuration.
The benefits of scoping XU resources to a single application, as opposed to sharing XU resources are stated in Packaging and deployment.
In the deployment phase of the EAR file, you must create a Java 2 connection factory (J2C). This step is necessary to add the JNDI name of the resource adapter.
If you package a rule session factory inside an application EAR, you can remove the JNDI definitions from the rule session JAR file.