Question
USING JAVA**** In this project, you are going to write a client-server program using TCP. The client sends requests to the server and the server
USING JAVA**** In this project, you are going to write a client-server program using TCP. The client sends requests to the server and the server sends the reply back after processing the requests. The client can send the following requests to manage a simple student database on the server. You can randomly use a 6-digit numerical number as a student's ID. We assume a student's first and last names are less than 10 characters long. A student's information includes his/her ID, first and last names, and his/her score (0-100) for the network course. Run your server program in zeus and your client program in eros.
1. add(ID, Fname, Lname, score): this request adds a new student's information into the database. 2. display(ID): this request sends the ID of a student to the server and the server returns the information of the student. 2. display(score): this request sends a score to the server and the server returns the information of all the students whose scores are above the sent score. 3. display_all: this request displays the information of all the students currently in the database. 4. delete(ID): this request deletes the student entry with that ID.
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