O'Reilly logo

Drools JBoss Rules 5.0 Developer's Guide by Michal Bali, Bogdan Brinzarea

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

Summary

In this chapter, we saw how to use rules to perform more complex data transformation tasks. These rules are easy to read and can be expanded without increasing the overall complexity. However, it should be noted that Drools is probably not the best option if we want to carry out high throughput/high performance data transformations.

We saw how to write rules over a generic data type such as a java.util.Map. You should try to avoid using this kind of generic data type. However, it is not always possible, especially when you are doing data transformation and you don't know much about the data.

Some testing approaches were shown. Use of AgendaFilter as a way to isolate the individual rule tests was also demonstrated. Please note that upon execution, ...

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