Question: Write an RMI application in which the server has four functions: The first function receives a string from the client and return the string reversed
Write an RMI application in which the server has four functions:
- The first function receives a string from the client and return the string reversed to the client
- The second function receives two numbers from the client and returns the biggest number to the client
- The third function receives a number from the client and returns its Factorial to the client.
- The fourth function receives two numbers from the client and returns theirs GCD (Greatest Common Divisor)
Write the Interface, the Implementation class, the server code and a client that tests all above functions with the server.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
