How do you develop two programs in Java, a client program and a server program using an algorithm to implement? I need an array of 10 to 10,000 randomly-generated positive integers. (The highest randomly-generated number shall be 20,000.) The actual number of integers in the array needs to be based on an integer value submitted on the command line (along with the IP addresses and port numbers). The client has to contact three servers to help in sorting the integers, send an approximately equal number of integers to each server, receive the sorted integers back from the servers, merge the results, and print the sorted integers to standard out. The client shall print two spaces between each integer. Have to have the server program to implement a sorting algorithm. Except for the command line input for both programs and the printing of integers by the client, the two programs shouldn't use other keyboard or screen interaction with the user
How do you develop two programs in Java, a client program and a server program using an
I need an array of 10 to 10,000 randomly-generated positive integers. (The highest randomly-generated number shall be 20,000.) The actual number of integers in the array needs to be based on an integer value submitted on the command line (along with the IP addresses and port numbers). The client has to contact three servers to help in sorting the integers, send an approximately equal number of integers to each server, receive the sorted integers back from the servers, merge the results, and print the sorted integers to standard out. The client shall print two spaces between each integer. Have to have the server program to implement a sorting algorithm.
Except for the command line input for both programs and the printing of integers by the client, the two programs shouldn't use other keyboard or screen interaction with the user.
Subject: Java
Step by step
Solved in 2 steps with 3 images