For this project you will need to create three files:

Here's what calc.jsp looks like after the scriptlets are run:

In this lab you will use the usebean directive to create an instance of the following class:
public class CalculatorBean implements java.io.Serializable {
// = (p*R) / [1 - (1 + R)^(-N)]
public double monthlyPayment(double p,
double r, int n) {
// don't forget to adjust r and n
}
}
To create a bean in JDeveloper add a new Java Class to the ViewController project.