Quick Deployer UI Support of Multiple Rule Services

Document created by Candida Rodriguez-Lee on Oct 10, 2014Last modified by Candida Rodriguez-Lee on Oct 10, 2014
Version 2Show Document
  • View in full screen mode

Q. Does the Blaze Advisor Quick Deployer UI support the deployment of multiple rule services?


A. While the Quick Deployer UI does not support multiple rule services, you can manually add rules services to the generated .server file.


One project is loaded into Builder at any one time and each project corresponds to one rule service. Each rule service is identified by the <DeployRulesServiceConfig> tags in the .server file.

Multiple rule services can be easily deployed by manually modifying the .server file. The solution is to use the Quick Deployer to generate a .server file and then copy and paste <DeployRulesServiceConfig> sections in the .server file. The server can then be modified by writing InvokeServicexxx() and InvokeServiceyyy() methods and calling them from the client to invoke each service type.


The invokeService() call is as follows:

protected Object invokeService(String serviceName, String entryPointId, String clientContextId, Object[] serviceArgs) throws RemoteException;

  • serviceName is the name of the service for which the bean is created
  • entryPointId is the name of the entry point for the business method
  • clientContextId is the invocation-time id that can be used to correlate exception and monitoring events to particular sessions
  • serviceArgs is the properly constructed array of service entry point arguments