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

Problem definition

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

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

We'll be validating the banking domain model, and the result of this process should be a report informing us of all 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