A simple middleware that will register a service, lookup a service, handle multiple requests and facilitate the communication between the service consumer and the service provider.
This will start the middleware and listen to client requests
cd Middleware
python main.py
This will start a sample server (gcd service). In the initialization it sends a request to register it on the service directory
cd Server
python gcd_service.py
cd Client
javac Client.java
Example: To get GCD value of 12 & 18
java Client gcd 12 18