I have to write a JAva Server application that uses a socket connection to allow a client to specify a file name and have the server send the contents of the file or indicate that the file does not exist.
Also the client should save the file to a local disk.
Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…