Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plzz explain the whole scenario of ABC TEST LAB PORTAL in your own words so that i can explain in my viva ? Based on

plzz explain the whole scenario of ABC TEST LAB PORTAL in your own words so that i can explain in my viva ?

Based on the scenario based question, answer the following question also::--

  1. What is model attribute
  2. what is Request dispatcher
  3. What all are the requirements and the tables?

  1. what is Auto wire and To autopopulate which annotation is used?

5. How to autopopulate dropdowns

6. What were the validations and how to validate ( complete steps )

7. How are exceptions handles/how to make custom exceptions.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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 old

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions