Using the Hello Example:
6) Add code in the sayHello method of HelloImpl.java so that there is a 5 second delay before the method returns. Compile and start the server.
In separate screens start two or more clients. Observe the sequence of events displayed on the screens. Can you tell if the method calls are executed by the object server concurrently or iteratively? Explain your answer.
7) Modify the sayHello method so that an argument, a name string, is passed in as an argument, and the return string is the string "Hello!" concatenated with the name string:
a) Show the code modifications:
b) Recomplile and run the server and then the client. Describe and explain what happened
c) Run rmic again to generate the new proxies for the modified interface and then run the server and the client. Hand in the source listings and a script of the run outcomes.