The project was about building a client-server architecture to implement a Multithreaded Dictionary Server that allowed concurrent clients to add words with meaning(s), search for the meaning(s) of a word and delete existing words from the dictionary. The architecture makes use of TCP Sockets and Threads at the lowest level of abstraction for the purpose of network communication and concurrency.
How to run instruction:
- To start the server:
java –jar DictionaryServer.jar
Where, is the port to which the server will be listening to for incoming connections and the is the path of the dictionary file.
Please note, the whole path of the dictionary needs be specified and both the and need to be valid and in the right order.
- To start the client:
java –jar DictionaryClient.jar
Where, is the address of the server to which the client needs to connect to and the is the port number.
Please note, both and need to be valid and in the right order.