Chapter 9. Building a Sample Application

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.

Users

Our application will have three sets of users: normal bank employees, supervisors, and bank customers. Their properties are as follows:

  • Normal bank employees will be able to create new customers
  • Customers will be able to request loans
  • Bank employees will then work on these loans
  • Supervisors will issue final loan approvals
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.104.120