I have been working on spring RMI and I have set up a host and one client.
Below is the code of my host. I want to modify it in such a way that host should know whic
configuring RMI host so that it should know which client port is accessing it
There is no 'configuration' of the RMI host that will deliver that information.
The client port information is completely and utterly useless.
It sounds like a case for the Remote Session Pattern to me.