The server will listen for socket connections on localhost:9989
.
Sets up a Server that serves the contents of a file called "islands_in_the_stream.txt".
Client will connect to the server and transform the contents to a bag of words, counting the occurrence of every word and display the words with the most occurrence.
$ cd src/
$ cp ../islands_in_the_stream .
$ javac Server.java && java Server .
$ cd src/
$ javac Client.java && java Client .