O'Reilly logo

Drools JBoss Rules 5.X Developer's Guide by Michal Bali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spring framework integration

Drools, as of Version 5.1, provides out-of-the-box integration with the Spring framework. As we've seen in previous chapters, it comes with a custom drools-spring namespace, which is part of the drools-spring module. This section will be an overview of this namespace.

The drools-spring namespace allows us to define and configure knowledge bases, stateless and stateful sessions, listeners, groups of listeners, and custom accumulate functions including advanced features such as session persistency and others. See the Drools integration documentation for the full listing.

Furthermore, we can work with defined sessions through the command interface. Commands can be entered through the drools:batch element. These commands ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required