Assignment 3 This assignment is an individual work. You are not allowed to work on this...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Assignment 3 This assignment is an individual work. You are not allowed to work on this with anyone, nor should you accept or offer help. Folks who offer help and hints generally produce very similar code to the folks receiving help and hints! Offenders will be prosecuted! Also note: these instructions are purposefully vague. There are an infinite number of ways to solve this problem! Choose ways that work! With that out of the way, put in the time, solve the problems, and get through it! It's worth it, and it's fun! Summary You are asked by your boss to develop an application which allows the restaurant to generate a bill for a customer, by a waiter of a table served to. The owner of the restaurant should be able to view at the end of the day how many bills got generated and how many customers got served by which waiter. Requirements Part 1 Begin with database tables (schema.sql), you are going to require creating tables like, Waiter table (First name, last name, ID, tableNo), Billing table (Bill id, tableNo, waiterName, total), Table(tableID, tableNo). Use your database knowledge to design you tables properly, add more properties as needed, and create relationships to access data easily. Beside these table you are also going to need tables to store USERS of the system with their ROLES, you can refer to your lectures for this as well. Part 2 Create Controller which can dispatch to a form where the menu is going to be displayed after properly login by a waiter to the system. Choose the items for the menu and their prices by yourselves (Minimum 10 items are required to be displayed on the form). Be reasonable with the prices, create some sections on the forms with different categories of the items to be displayed like Beverages, Main Course, Appetizers etc. You can use check boxes to select the items from the form for the order. You need method which can handle HTTP Get request "/", as well as POST requests with the form data. In your "/" mapped method, ask user to login as a Waiter or as Owner of the restaurant. "/login" will map towards form for taking details of username and password (your passwords stored in the database should be properly salted. Once login authentication is done, proper mapped form should be displayed. For a waiter it should be a menu and once the items are selected and Confirm Order button is pressed then the bill of the customer should be displayed (or GET method mapped to something like "/finalbill") with proper tax calculation and sub-total and total. For Owner a form should display with table no buttons like Table 1, Table 2, Table 3, etc. once the owner click on particular table button then proper GET method mapped to "/allbills" for that particular table should be displayed with all the waiters who server for that table and their bill totals with grand total for that particular table. Part 3 Create Thymeleaf page or pages which display dynamic Menu for the restaurant that is offered. Nicely formatted and styled with categories/ sections. Points for style here. Things to consider 1. Think about the POJO properties you need in this application, along with how POJO might possibly be related to each other. 2. All the information of bills and should be stored in the database and can be retrievable when needed. 3. You must use JDBC Template technology with SQL for database queries. 4. You must use H2 database for storage. 5. Your menu displayed page, bill pages must use Thymeleaf, and must look great. 6. You must use proper salted passwords for the waiters and owner. Submission Details Name your project A3 . Please use regular ZIP to combine and compress your project'd directory from inside your workspace folder. Use a regular .zip and follow this naming convention-you have officially been told! Failure to follow these two simple rules will result in massive grade reductions. Include different screen shots of your running application with each form with entering data. Include screen shots of your database tables with and without data. Don't forget to include your schema in the project. Submit your assignment to the SLATE Assignments folder for our course. You should attach/upload the zip of your Eclipse workspace project folder. Remember what you have learned and put it into practice! Best of luck Grading Controller Layer - appropriate calls etc. Model Layer - POJO, database access, JDBC Template queries etc. View Layer - Thymeleaf, Form binding et. All best practices and instructions followed and styles. 5 5 5 5 /20 Assignment 3 This assignment is an individual work. You are not allowed to work on this with anyone, nor should you accept or offer help. Folks who offer help and hints generally produce very similar code to the folks receiving help and hints! Offenders will be prosecuted! Also note: these instructions are purposefully vague. There are an infinite number of ways to solve this problem! Choose ways that work! With that out of the way, put in the time, solve the problems, and get through it! It's worth it, and it's fun! Summary You are asked by your boss to develop an application which allows the restaurant to generate a bill for a customer, by a waiter of a table served to. The owner of the restaurant should be able to view at the end of the day how many bills got generated and how many customers got served by which waiter. Requirements Part 1 Begin with database tables (schema.sql), you are going to require creating tables like, Waiter table (First name, last name, ID, tableNo), Billing table (Bill id, tableNo, waiterName, total), Table(tableID, tableNo). Use your database knowledge to design you tables properly, add more properties as needed, and create relationships to access data easily. Beside these table you are also going to need tables to store USERS of the system with their ROLES, you can refer to your lectures for this as well. Part 2 Create Controller which can dispatch to a form where the menu is going to be displayed after properly login by a waiter to the system. Choose the items for the menu and their prices by yourselves (Minimum 10 items are required to be displayed on the form). Assignment 3 This assignment is an individual work. You are not allowed to work on this with anyone, nor should you accept or offer help. Folks who offer help and hints generally produce very similar code to the folks receiving help and hints! Offenders will be prosecuted! Also note: these instructions are purposefully vague. There are an infinite number of ways to solve this problem! Choose ways that work! With that out of the way, put in the time, solve the problems, and get through it! It's worth it, and it's fun! Summary You are asked by your boss to develop an application which allows the restaurant to generate a bill for a customer, by a waiter of a table served to. The owner of the restaurant should be able to view at the end of the day how many bills got generated and how many customers got served by which waiter. Requirements Part 1 Begin with database tables (schema.sql), you are going to require creating tables like, Waiter table (First name, last name, ID, tableNo), Billing table (Bill id, tableNo, waiterName, total), Table(tableID, tableNo). Use your database knowledge to design you tables properly, add more properties as needed, and create relationships to access data easily. Beside these table you are also going to need tables to store USERS of the system with their ROLES, you can refer to your lectures for this as well. Part 2 Create Controller which can dispatch to a form where the menu is going to be displayed after properly login by a waiter to the system. Choose the items for the menu and their prices by yourselves (Minimum 10 items are required to be displayed on the form). Assignment 3 This assignment is an individual work. You are not allowed to work on this with anyone, nor should you accept or offer help. Folks who offer help and hints generally produce very similar code to the folks receiving help and hints! Offenders will be prosecuted! Also note: these instructions are purposefully vague. There are an infinite number of ways to solve this problem! Choose ways that work! With that out of the way, put in the time, solve the problems, and get through it! It's worth it, and it's fun! Summary You are asked by your boss to develop an application which allows the restaurant to generate a bill for a customer, by a waiter of a table served to. The owner of the restaurant should be able to view at the end of the day how many bills got generated and how many customers got served by which waiter. Requirements Part 1 Begin with database tables (schema.sql), you are going to require creating tables like, Waiter table (First name, last name, ID, tableNo), Billing table (Bill id, tableNo, waiterName, total), Table(tableID, tableNo). Use your database knowledge to design you tables properly, add more properties as needed, and create relationships to access data easily. Beside these table you are also going to need tables to store USERS of the system with their ROLES, you can refer to your lectures for this as well. Part 2 Create Controller which can dispatch to a form where the menu is going to be displayed after properly login by a waiter to the system. Choose the items for the menu and their prices by yourselves (Minimum 10 items are required to be displayed on the form). Assignment 3 This assignment is an individual work. You are not allowed to work on this with anyone, nor should you accept or offer help. Folks who offer help and hints generally produce very similar code to the folks receiving help and hints! Offenders will be prosecuted! Also note: these instructions are purposefully vague. There are an infinite number of ways to solve this problem! Choose ways that work! With that out of the way, put in the time, solve the problems, and get through it! It's worth it, and it's fun! Summary You are asked by your boss to develop an application which allows the restaurant to generate a bill for a customer, by a waiter of a table served to. The owner of the restaurant should be able to view at the end of the day how many bills got generated and how many customers got served by which waiter. Requirements Part 1 Begin with database tables (schema.sql), you are going to require creating tables like, Waiter table (First name, last name, ID, tableNo), Billing table (Bill id, tableNo, waiterName, total), Table(tableID, tableNo). Use your database knowledge to design you tables properly, add more properties as needed, and create relationships to access data easily. Beside these table you are also going to need tables to store USERS of the system with their ROLES, you can refer to your lectures for this as well. Part 2 Create Controller which can dispatch to a form where the menu is going to be displayed after properly login by a waiter to the system. Choose the items for the menu and their prices by yourselves (Minimum 10 items are required to be displayed on the form). Be reasonable with the prices, create some sections on the forms with different categories of the items to be displayed like Beverages, Main Course, Appetizers etc. You can use check boxes to select the items from the form for the order. You need method which can handle HTTP Get request "/", as well as POST requests with the form data. In your "/" mapped method, ask user to login as a Waiter or as Owner of the restaurant. "/login" will map towards form for taking details of username and password (your passwords stored in the database should be properly salted. Once login authentication is done, proper mapped form should be displayed. For a waiter it should be a menu and once the items are selected and Confirm Order button is pressed then the bill of the customer should be displayed (or GET method mapped to something like "/finalbill") with proper tax calculation and sub-total and total. For Owner a form should display with table no buttons like Table 1, Table 2, Table 3, etc. once the owner click on particular table button then proper GET method mapped to "/allbills" for that particular table should be displayed with all the waiters who server for that table and their bill totals with grand total for that particular table. Part 3 Create Thymeleaf page or pages which display dynamic Menu for the restaurant that is offered. Nicely formatted and styled with categories/ sections. Points for style here. Things to consider 1. Think about the POJO properties you need in this application, along with how POJO might possibly be related to each other. 2. All the information of bills and should be stored in the database and can be retrievable when needed. 3. You must use JDBC Template technology with SQL for database queries. 4. You must use H2 database for storage. 5. Your menu displayed page, bill pages must use Thymeleaf, and must look great. 6. You must use proper salted passwords for the waiters and owner. Be reasonable with the prices, create some sections on the forms with different categories of the items to be displayed like Beverages, Main Course, Appetizers etc. You can use check boxes to select the items from the form for the order. You need method which can handle HTTP Get request "/", as well as POST requests with the form data. In your "/" mapped method, ask user to login as a Waiter or as Owner of the restaurant. "/login" will map towards form for taking details of username and password (your passwords stored in the database should be properly salted. Once login authentication is done, proper mapped form should be displayed. For a waiter it should be a menu and once the items are selected and Confirm Order button is pressed then the bill of the customer should be displayed (or GET method mapped to something like "/finalbill") with proper tax calculation and sub-total and total. For Owner a form should display with table no buttons like Table 1, Table 2, Table 3, etc. once the owner click on particular table button then proper GET method mapped to "/allbills" for that particular table should be displayed with all the waiters who server for that table and their bill totals with grand total for that particular table. Part 3 Create Thymeleaf page or pages which display dynamic Menu for the restaurant that is offered. Nicely formatted and styled with categories/ sections. Points for style here. Things to consider 1. Think about the POJO properties you need in this application, along with how POJO might possibly be related to each other. 2. All the information of bills and should be stored in the database and can be retrievable when needed. 3. You must use JDBC Template technology with SQL for database queries. 4. You must use H2 database for storage. 5. Your menu displayed page, bill pages must use Thymeleaf, and must look great. 6. You must use proper salted passwords for the waiters and owner. Be reasonable with the prices, create some sections on the forms with different categories of the items to be displayed like Beverages, Main Course, Appetizers etc. You can use check boxes to select the items from the form for the order. You need method which can handle HTTP Get request "/", as well as POST requests with the form data. In your "/" mapped method, ask user to login as a Waiter or as Owner of the restaurant. "/login" will map towards form for taking details of username and password (your passwords stored in the database should be properly salted. Once login authentication is done, proper mapped form should be displayed. For a waiter it should be a menu and once the items are selected and Confirm Order button is pressed then the bill of the customer should be displayed (or GET method mapped to something like "/finalbill") with proper tax calculation and sub-total and total. For Owner a form should display with table no buttons like Table 1, Table 2, Table 3, etc. once the owner click on particular table button then proper GET method mapped to "/allbills" for that particular table should be displayed with all the waiters who server for that table and their bill totals with grand total for that particular table. Part 3 Create Thymeleaf page or pages which display dynamic Menu for the restaurant that is offered. Nicely formatted and styled with categories/ sections. Points for style here. Things to consider 1. Think about the POJO properties you need in this application, along with how POJO might possibly be related to each other. 2. All the information of bills and should be stored in the database and can be retrievable when needed. 3. You must use JDBC Template technology with SQL for database queries. 4. You must use H2 database for storage. 5. Your menu displayed page, bill pages must use Thymeleaf, and must look great. 6. You must use proper salted passwords for the waiters and owner. Be reasonable with the prices, create some sections on the forms with different categories of the items to be displayed like Beverages, Main Course, Appetizers etc. You can use check boxes to select the items from the form for the order. You need method which can handle HTTP Get request "/", as well as POST requests with the form data. In your "/" mapped method, ask user to login as a Waiter or as Owner of the restaurant. "/login" will map towards form for taking details of username and password (your passwords stored in the database should be properly salted. Once login authentication is done, proper mapped form should be displayed. For a waiter it should be a menu and once the items are selected and Confirm Order button is pressed then the bill of the customer should be displayed (or GET method mapped to something like "/finalbill") with proper tax calculation and sub-total and total. For Owner a form should display with table no buttons like Table 1, Table 2, Table 3, etc. once the owner click on particular table button then proper GET method mapped to "/allbills" for that particular table should be displayed with all the waiters who server for that table and their bill totals with grand total for that particular table. Part 3 Create Thymeleaf page or pages which display dynamic Menu for the restaurant that is offered. Nicely formatted and styled with categories/ sections. Points for style here. Things to consider 1. Think about the POJO properties you need in this application, along with how POJO might possibly be related to each other. 2. All the information of bills and should be stored in the database and can be retrievable when needed. 3. You must use JDBC Template technology with SQL for database queries. 4. You must use H2 database for storage. 5. Your menu displayed page, bill pages must use Thymeleaf, and must look great. 6. You must use proper salted passwords for the waiters and owner. Submission Details Name your project A3 . Please use regular ZIP to combine and compress your project'd directory from inside your workspace folder. Use a regular .zip and follow this naming convention-you have officially been told! Failure to follow these two simple rules will result in massive grade reductions. Include different screen shots of your running application with each form with entering data. Include screen shots of your database tables with and without data. Don't forget to include your schema in the project. Submit your assignment to the SLATE Assignments folder for our course. You should attach/upload the zip of your Eclipse workspace project folder. Remember what you have learned and put it into practice! Best of luck Grading Controller Layer - appropriate calls etc. Model Layer - POJO, database access, JDBC Template queries etc. View Layer - Thymeleaf, Form binding et. All best practices and instructions followed and styles. 5 5 5 5 /20 Submission Details Name your project A3 . Please use regular ZIP to combine and compress your project'd directory from inside your workspace folder. Use a regular .zip and follow this naming convention-you have officially been told! Failure to follow these two simple rules will result in massive grade reductions. Include different screen shots of your running application with each form with entering data. Include screen shots of your database tables with and without data. Don't forget to include your schema in the project. Submit your assignment to the SLATE Assignments folder for our course. You should attach/upload the zip of your Eclipse workspace project folder. Remember what you have learned and put it into practice! Best of luck Grading Controller Layer - appropriate calls etc. Model Layer - POJO, database access, JDBC Template queries etc. View Layer - Thymeleaf, Form binding et. All best practices and instructions followed and styles. 5 5 5 5 /20 Submission Details Name your project A3 . Please use regular ZIP to combine and compress your project'd directory from inside your workspace folder. Use a regular .zip and follow this naming convention-you have officially been told! Failure to follow these two simple rules will result in massive grade reductions. Include different screen shots of your running application with each form with entering data. Include screen shots of your database tables with and without data. Don't forget to include your schema in the project. Submit your assignment to the SLATE Assignments folder for our course. You should attach/upload the zip of your Eclipse workspace project folder. Remember what you have learned and put it into practice! Best of luck Grading Controller Layer - appropriate calls etc. Model Layer - POJO, database access, JDBC Template queries etc. View Layer - Thymeleaf, Form binding et. All best practices and instructions followed and styles. 5 5 5 5 /20 Submission Details Name your project A3 . Please use regular ZIP to combine and compress your project'd directory from inside your workspace folder. Use a regular .zip and follow this naming convention-you have officially been told! Failure to follow these two simple rules will result in massive grade reductions. Include different screen shots of your running application with each form with entering data. Include screen shots of your database tables with and without data. Don't forget to include your schema in the project. Submit your assignment to the SLATE Assignments folder for our course. You should attach/upload the zip of your Eclipse workspace project folder. Remember what you have learned and put it into practice! Best of luck Grading Controller Layer - appropriate calls etc. Model Layer - POJO, database access, JDBC Template queries etc. View Layer - Thymeleaf, Form binding et. All best practices and instructions followed and styles. 5 5 5 5 /20
Expert Answer:
Related Book For
Financial Accounting and Reporting a Global Perspective
ISBN: 978-1408076866
4th edition
Authors: Michel Lebas, Herve Stolowy, Yuan Ding
Posted Date:
Students also viewed these programming questions
-
Rationale: Nurses are required to provide health care for persons with chronic diseases. These are often vulnerable populations within communities, and many require interdisciplinary team management....
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
(a) Use the following text to derive distributions for rat and chased. Use a five-word window, including open- and closed- class words, ignore case, punctuation and sentence boundaries and weight...
-
What is true of a balance sheet? Question 6Answer a. The equation used in a balance sheet is Assets = Liabilities + Net Assets b. The equation used in a balance sheet is Assets = Net Assets =...
-
Discuss: How can the procedure in Exercise 7 be used to solve y - 6y + 11y - 6y = 0? Carry out your ideas. Exercise 7 It is possible to solve a single differential equation by expressing the equation...
-
When you receive your electric bill, you discover that you have been charged $50.40 at a rate of $0.07 per kWh for your 10kW motor. How long has your motor been running? Express your answer in hours
-
Discuss the relationship between investment risk and the expected rate of return on an investment. Explain why accounting information is useful in evaluating the risk/return trade-off inherent in all...
-
Ana Lucia operates a retail clothing operation. She purchases all merchandise inventory on credit and uses a periodic inventory system. The Accounts Payable account is used for recording inventory...
-
what are the financial draw back and benefit of HIS
-
8 91426 10 11 (CCM) builds furniture for a range of commercial customers. They build furniture used in hotels and department stores, on cruise liners, ferries and passenger aircraft. One of their...
-
1. The problem is as follows: (TO DO ON JUPYTER NOTEBOOK) Given: the following Samples: S1 = 20, 12, 8, 10, 3, 15, 7, 35, 7, 33, 5, 17, 9, 18, 4 S2 = 23, 19, 42, 28, 37, 2, 21, 39, 5, 14, 1, 18, 12,...
-
what are potential risks of Juan and Elena Hernandez's disciplinary style on the psychological development of their children. Identify one theoretical perspective that can be used to explain the...
-
On January 1, 2025, Cullumber Corporation had 82,200 shares of $1 par value common stock issued and outstanding. During the year, the following transactions occurred: Mar. 1 Issued 97,200 shares of...
-
Ryan is a 12 year old diagnosed with Oppositional DefiantDisorder (ODD). As a small child, Ryan was first diagnosed withAttention Deficit, Hyperactivity Disorder. He had just startedpreschool and was...
-
Describe the SALT Deduction and any limitations. How does this impact NJ taxpayers? Include a reference to the applicable IRC section. ALSO response on how this impacts NJ taxpayers. Indicate whether...
-
You own a portfolio of two stocks, A and B. Stock A is valued at $85,000 and has an expected return of 8.6 percent. Stock B has an expected return of 4.2percent. What is the expected return on the...
-
The velocity of a particle that moves along the s-axis is given by v=2-4t+5t, where t is in seconds and v is in meters per second. Evaluate the position s, velocity v, and acceleration a when t = 3...
-
Kenneth Hubbard has prepared the following list of statements about managerial accounting and financial accounting. 1. Financial accounting focuses on providing information to internal users. 2....
-
Elisabeth Rossiter, the single proprietor of Nikopoulos, Inc., a successful manufacturer of advanced microchips for computer gaming consoles, is seeking new long-term capital to finance the growth of...
-
Multiple Choice Questions 1. Which of the situations described below would mean the firm analyzed is caught in a scissor effect (a) Its interest expense grows faster than its labor compensation...
-
Britten Inc. is a large European civil engineering and construction enterprise. They have just finished building, for their own use, a large hangar, which will serve as both a warehouse for their...
-
Access the Institute of Management Accountant's report titled "The Data Analytics Implementation Journey in Business and Finance," (https://www.imanet.org/...
-
Match each item in the value chain, 1 through 7, with an example of an artificial intelligence initiative, choosing from items \(a\) through \(g\). Value Chain 1. Research and development Artificial...
-
Go to PWC.com and select "Services" and then "Data and Analytics" (under "Consulting"). Choose a topic and write about how PWC is using data analytics and/or artificial intelligence to help its...
Study smarter with the SolutionInn App