Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise: A Small supermarket employs workers who are paid every end of week. According to the one of the three hourly rates depending on their

image text in transcribed

Exercise: A Small supermarket employs workers who are paid every end of week. According to the one of the three hourly rates depending on their positions in Table 1 Position Admin A1 Worker P1 Worker P2 Hours rate (dirham) 60 40 30 Each worker might work any number of hours per week; any hour over 40 are paid at one and half rate. In addition workers in position A1 and P1 can choose to participate in the following insurance options in Table 2 Table 1 Also, the worker Admin in position A1 can choose to participate in the retirement plan at 3.0% of their gross pay. The following Table 3. Summarizes who is authorized to participate in insurance and retirement plans. Weekl 80 50 30 Option Explanation Medical Insurance Dental Insurance Disability Insurance 12 1. Create a page employee.jsp" . This page shall ask the user to insert the number of working hours, 13 position, insurance and retirements Table 2 2. Check if the user has inserted all of the required | | Position | 11 | 12 | 13 | Retirement (396) fields. Admin A1 YY Worker P1Y Y Worker P2 N N 3. Create a new servlet to calculate and fill in the DB (Employee) the following information o Hours worked o Hourly rate o Regular pay for 40 hours o Overtime pay o Total pay o Insurance o Retirement o Total deductions. o The net pay (total pay - total deductions) Table 3 Create a Servlet page with a button display that can read and display all the data from the DB 4. ISP Page design. Name Position Hours Insurance. Retirement Mohammad Admin Medical Ins Dental Ins Disability Ins rement Submit Reset Exercise: A Small supermarket employs workers who are paid every end of week. According to the one of the three hourly rates depending on their positions in Table 1 Position Admin A1 Worker P1 Worker P2 Hours rate (dirham) 60 40 30 Each worker might work any number of hours per week; any hour over 40 are paid at one and half rate. In addition workers in position A1 and P1 can choose to participate in the following insurance options in Table 2 Table 1 Also, the worker Admin in position A1 can choose to participate in the retirement plan at 3.0% of their gross pay. The following Table 3. Summarizes who is authorized to participate in insurance and retirement plans. Weekl 80 50 30 Option Explanation Medical Insurance Dental Insurance Disability Insurance 12 1. Create a page employee.jsp" . This page shall ask the user to insert the number of working hours, 13 position, insurance and retirements Table 2 2. Check if the user has inserted all of the required | | Position | 11 | 12 | 13 | Retirement (396) fields. Admin A1 YY Worker P1Y Y Worker P2 N N 3. Create a new servlet to calculate and fill in the DB (Employee) the following information o Hours worked o Hourly rate o Regular pay for 40 hours o Overtime pay o Total pay o Insurance o Retirement o Total deductions. o The net pay (total pay - total deductions) Table 3 Create a Servlet page with a button display that can read and display all the data from the DB 4. ISP Page design. Name Position Hours Insurance. Retirement Mohammad Admin Medical Ins Dental Ins Disability Ins rement Submit Reset

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

Explain the importance of Human Resource Management

Answered: 1 week ago

Question

Discuss the scope of Human Resource Management

Answered: 1 week ago

Question

Discuss the different types of leadership

Answered: 1 week ago

Question

Write a note on Organisation manuals

Answered: 1 week ago