I have a program in which there are these classes:
RMIServer,
RMIClient,
RMIImplementation,
RMIInterface
which are as follows:
RMIServer:
RMIClient:
RMIInterface:
RMIImplementation:
(This program is for a
test purpose. The test is done in one machine.)
Well, the client makes calls to the remote object, sending some parameters.
I want the RMIServer to print out the summary of the calls made from the client to the remote object. What should I do to have access to such information?
I want the output to look like this:
RMI Server started
RMIImplementation instance created and ready to serve
RMI service called for :
tonny (30)
john (26)