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

Design

Let's now look in more detail at the individual layers. The following diagram also gives us an overview of what we'll be implementing in this chapter. Again, from bottom to top, we'll have two repositories—one for persisting customers and one for accounts. The services layer will have our three already defined services—validation, loan approval, and CEP service. These services will be hidden behind a public BankingService, which will act as a mediator between these services. The presentation tier will use this public service to do all of its tasks. There will be various controllers—each responsible for some unit of work (for example, CustomerSaveFormController for saving a customer). The presentation tier will also contain a WS-HumanTask ...

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