Loan approval

We'll now create screens for the loan approval process (another vertical slice of the application). This consists of a loan request form, task list screen, task manipulation (claim a task, start a task, complete a task), and final supervisor's approval. In this case we'll do a top-down approach starting with the presentation layer.

The Loan Request form

The following screenshot shows the Loan Request form:

The Loan Request form

Figure 4: The Loan Request form

Let's start with the implementation of the loanRequest.jsp file, which will display the loan request form. We can copy the customerSave.jsp file and just replace the form section with the following:

<form:form ...

Get Drools JBoss Rules 5.X Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.