title: Drools - EventListener
body: <p>We are planning to use Drools/JBoss BRMS 6 for business rules management. Our plan is to write rules using the workbench, deploy the rules package in multiple Execution Servers and allow applications to access the Rules package by making calls to the REST API. We do not have any Java wrappers or custom classes in between the calling applications and the rules package. </p>
  
  <p>I am trying to incorporate some logging into the rules engine. I understand that there are EventListener interfaces that can be implemented. </p>
  
  <ol>
  <li>Please would you provide some information/guidance on how to implement Listeners in our kind of set up? Where will I create and store the Java classes/methods that would implement Event Listeners? </li>
  <li>How can a calling application insert an Event Listener into the session? Will it be part of the xml/json payload? </li>
  </ol>
  
  <p>Thanks</p>