The Duke's Bookstore website is missing functionality for calculating proper tax and shipping for orders. Add the functionality to support proper tax and shipping calculations for the bookstore. You must compute taxes for all states that require sales taxes and shipping costs.

Additional Notes:

  • You will need to add this functionality to the checkout page in the application. Add a drop-down list to allow the user to pick a state for tax purposes.
  • Add an extra checkout page that displays the order sub-total, tax amount, shipping charges, and a grand total.
  • You may NOT hard-code the tax rates for the states in the program. Tax rates are data and are subject to change. Therefore the tax rates should be obtained from a database table. You will have to create a table containing states and tax rates. You will need to create a StateTax entity class and a StateTaxRequestBean to access the table, and a StateTaxConfigBean to populate the table with taxes (you may hard-code the taxes into the StateTaxConfigBean).
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.