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

Problem definition

Imagine that we have the following subset of requirements for validating a banking domain from a business analyst:

  • Customer's phone number is required
  • If customer doesn't provide an address, a warning message should be displayed
  • Account number must be unique
  • Account balance should be at least 100, otherwise a warning message should be displayed
  • Only customers below 27 years of age can open a student account

We'll be validating our banking domain model and the result of this process should be a report informing us of all the problems with the input data.

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