Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can someone please help me write the code for this please!!! You need to follow the MVC architectural pattern to develop an online Covid-19 vaccination
Can someone please help me write the code for this please!!!
You need to follow the MVC architectural pattern to develop an online Covid-19 vaccination appointment system using Java Servlets and JSPS. Requirements: 1. The user shall enter his National ID number (then submit the request) a. The system shall determine if the user: i. Fully vaccinated - boosted (a person who received two doses, and a booster shot). ii. Fully vaccinated (Two doses) (can go for a third shot (vaccine booster shot), see Req 6 below). iii. Already received the first dose Allow the user to book an appointment for the second dose iv. Didn't take any dose Allow the user to book an appointment for the first dose 2. The user shall be able to determine the vaccination type (for the first dose only) 3. The user shall be able to select the date/time for the appointment 4. If the user is booking an appointment for the second dose, the time between the first and second dose shall not be less than N weeks (N is configurable in the database based on the vaccine type). 5. When the citizen takes a dose, the nurse/admin shall set this in the database 6. If the citizen received two doses, he/she can take the third shot, but they must sign a consent. 7. Children under 12 years old are not eligible for vaccination. 8. The user can book an appointment at any vaccination center in any city 9. Each vaccination center can serve up to N people every hour (N is configurable in the database). 10. Vaccination is available from 8:00AM until 5:59PM 11. You need to use a database (of your choice), the DB should contain: a. Person info (ID, First Name, Last Name, DOB, Address, add more information if you find it necessary) 12. Once the user books an appointment, it shall be recorded in the database a. The database shall contain the vaccination type, dose number, and the appointment date/time 13. When the citizen receives the shot on the appointment date, the adminurse shall record this in the system. 14. You need to write a controller (serviet) to receive the user requests, create and update the models, and dispatch the requests to the correct resources (mainly views). 15. You need to write views (JSP) that will be the response to the user requests 16. You need to build the model classes that represent the business logic Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started