If you carry a balance on a credit card, it can be nice to see how long it would take to payoff the card. For this scenario, you should design a Java Web application the displays a credit card payment schedule.
Inputs for program should include: Customer’s name (first and last), the account number (as an integer), the current balance (as double) and the percent of the balance that will paid off each month (i.e. 5% as double). Your program should use the Java Scanner class to allow the user to enter the input from the Eclipse console. After receiving the input, return a report to the client that displays a table of payments.
Assume the following:
*At the beginning of every month 1.5% interest is added to the balance.
*The customer payment will be calculated using the monthly balance (including the interest) and the Percent to Pay input.
*The ending balance can be calculated using: beginning balance + interest - payment.
*Assume that when the monthly ending balance is less than the initial monthly payment, the customer can afford to pay off the remainder (plus interest) in the next month.
*You can use the Java NumberFormat class to make values appear as currency when printed.
[login to view URL]: an html form page that allows the user to enter the input data. Use textboxes and buttons. When the form is submitted, the Servlet class will be called to create the output.
[login to view URL]: This defines a credit card object. This component represents a credit card account. Fields are included that represent the input data. In addition to Constructors and getters/setters, this component includes a method that will create a String. The String should contain the html and content of the output table.
CardServlet: A servlet that will Get the data from the request, Create a CreditCard object, Store your credit card object as a request attribute to pass to the view, and Pass execution control on to the view component.
[login to view URL]: A Java Server Page (jsp) that will get CreditCard object from the request attributes and use it when needed to incorporate the inputs and the table into the view.
Sample output is attached.
9 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hi nice to meet u Firstly, Thanks for visitting my profile. With more than 10 year in java spring boot. So I can make it as best for you. Thanks u in me. Can we talk?