Question: What is the code to write this program in java netbeans? You are required to complete the required tasks based on the scenario provided. Develop
You are required to complete the required tasks based on the scenario provided. Develop TCP socket programs for employee applications. The application allows the employees to review their profile records. The employee enters employee ID and password at the client side and the client send these information to the server. The server checks employee ID and password with its local data (refer to Table 1). If login details are incorrect, the server sends incorrect message to the client. However, when the login details are the server sends to the client the following message: correct, please select one of the followings: 1: salary information, 2: Gratuity Information". when the employee selects the first option, the client sends '1' to the server. The server responded by sending employee name, position and salary of the employee to the client. However, '2' to be sent to the server when the user selects the second option and hence, the server sends the employee's gratuity according to Table 1. Your implementation should have both client and server Java programs and consider the following information at the server side
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
