Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Explain this scenrio based requirment in your own word so that i can describe to the interview very well.. (topic: spring ) you have completely
Explain this scenrio based requirment in your own word so that i can describe to the interview very well.. (topic: spring )
you have completely read the scenario. ABC Lab Test Portal PROBLEM STATEMENT: ABC company a pioneer in pathology needs a portal to allow out-patients to schedule an appointment for lab tests. They have approached Accenture to develop an application for the same. Accenture team decided to use SpringMVC as back-end, JSP as view technology and Bean class as Lab TestBean. Fred as a team member got an opportunity to complete the following requirements. Requirement-1: 1. Design a view Tests.jsp that displays: Price (RS) Tests: Map with following data Tests Complete blood count Hemoglobin A1C Master health checkup Flu test 100 200 1000 500 Price (RS) 100 200 1000 500 Tests Complete blood count Hemoglobin A1C Master health checkup Flu test Branches: List with following data Branches Chennai Mumbai Hyderabad Bengaluru 2. A hyperlink that navigates to appointment.jsp page. Requirement-2 page: 1. Place a text box that accepts the username and validate the username entered as usemame should start with capital letter only". To perform this validation, use the UserNameValidator custom annotation and UserNameValidatorimpl class to code the business validation logic. 2. Place a drop-down box that auto populates the list of branches mentioned in Requirement-1. 3. Place another drop-down box that auto populates the tests mentioned in Requirement-1. 4. Place a text box that accepts total number of persons to undergo the test, and validate the number entered as number of persons should be greater than or equal to 5. On clicking Register button, the application should calculate the total cost depending on the lab test and number of persons. 6. On successful submission, the user must be redirected to successOrder.jsp page "Annointment scheduled on tappointment date+" at csad validate the number entered as "number of persons should be greater than or equal to 1". 5. On clicking Register button, the application should calculate the total cost depending on the lab test and number of persons. 6. On successful submission, the user must be redkected to successorder.jsp page which displays the message "Appointment scheduled on "+appointment date+" at "+branch+" please pay Rs. "+amount. Note: Current date should be the scheduled appointment date in the successOrder.jsp 7. Else navigate back to registration.jsp page with valid error messages. 8. Whenever chosen test is not available at chosen branch, TestNotAvailableException should be raised and TestExceptionPage must be displayed 9. Use GeneralizedExceptionHandlerPage to display other exceptions. 10. The seriontext files are placed in a folder named config under WERNE oldStep 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