Chapter 6. Executing Drools Remotely

In this chapter, we will cover:

  • Knowledge services and multiple endpoints configuration

  • Deploying the Drools Server in JBoss AS 5.x

  • Creating commands with XStream marshallers

  • Using the REST interface to execute commands

  • Testing the SOAP interface with soapUI


One of the latest interesting features of Drools is the possibility to execute rules remotely. The Drools 5.2 release allows the creation of declarative services using Apache Camel integration to interact with knowledge sessions. Thanks to this integration, the Drools developers have provided a ready-to-use execution server, commonly known as the Drools Server, which uses all the advantages provided by Apache Camel to be integrated with the Apache ...

Get Drools Developer's Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.