Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Solve Prob. 27.4 with the finite-difference approach using x = 2.

Answered: 1 week ago

Question

7. Identify four antecedents that influence intercultural contact.

Answered: 1 week ago

Question

5. Describe the relationship between history and identity.

Answered: 1 week ago