This chapter will focus on the usage of Drools in a real application. It connects to previous chapters and should give an overall picture of how it all comes together. We'll look at how Drools can be used in a sample JEE web application covering layered design, persistence, transactions, and others.
This chapter assumes that you have some basic understanding of Java Persistence API (JPA). More information can be found at http://java.sun.com/javaee/technologies/persistence.jsp) and the Spring framework.
We'll now look at various aspects of the sample application.
Our application will have three sets of users: normal bank employees, supervisors, and bank customers. Their properties are as follows: