Local bindings
You must define a binding for POJO session factory classes in the calling component.
The IlrPOJOSessionFactory class instantiates the following classes: IlrStatelessSession, IlrStatefulSession, and IlrSessionRequest. In a local environment, these classes have no specific binding in this case; you must define a binding in the calling component, by default to eis/XUConnectionFactory.
Add the following code to the standard deployment descriptor of the component that uses a simple rule session:
<resource-ref>
<res-ref-name>eis/XUConnectionFactory</res-ref-name>
<res-type>javax.resource.cci.ConnectionFactory</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Unshareable</res-sharing-scope>
</resource-ref>
The eis/XUConnectionFactory reference name is valid only for the component that has this resource declaration. You can map this name to the real JNDI name of the XU on the server at deployment time, with tools, scripts, or specific deployment descriptors.