Reference no: EM13346986
Create a very simple Order System as a web application. The application allows users to view the order and products the products. Our company is called "WACKO Furniture" and isn't very big having only three products to sell: chairs, tables and couches.Thus there will be some choices of size and color for each of the products.
Implement the Customer Orders Product and Customer Views Product use cases which are given below.
Do NOT implement anything other than these use cases.
REQUIREMENTS
1. You will use the MVC: Passive model
2. You will use java beans jsp Actions and java beans or if you choose you can use import of java classes
3. All user input will be received by a controller which will carry out any actions before redirecting/including/forwarding/... to the next view.
4. Naming:
a. Controllers will be named according to the user input they receive. EG: After the user selects the "Place Order" option, the responsible controller will be called: PlaceOrderController.jsp
b. All user views will be named according to their function on the browser. EG: The request for customer info will be called: CustomerForm.jsp and the displaying of the information for confirmation will be called: DisplayCustomerInfo.jsp
c. In general use the words: Form, Display and Controller for all the controller and view jsp files
5. Java classes:
a. Database class:
i. The Database class will reside in a package called "database" and is named "Database"
ii. All interactions with the database including connect and disconnect will be performed through the Database class. This class can be imported by other classes to be used for performing database operations.
b. Model classes: (Customer, Order and LineItem classes)
i. These will reside in a package called "model"
ii. Note that LineItem is not strictly a Bean as we will not be accessing this class from the controllers or from the views but rather just from the OrderBean class.
iii. You may also have a ProductCatalog class if you wish
6. Your datasource will be named "WACKO"