• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

identifying rmi client

 
Walid Mohamed
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi all
I am using getClientHost() in java.rmi.server.RemoteServer to identify different rmi clients
but it only returns the IP address
I might have in my application 2 clients with same ip

any idea how to distingish clients???

Regards.

 
Pierre Sugar
Ranch Hand
Posts: 62
Java Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are several discussions on this topic e.g. at the sun-forum or at JGuru or at Velocity Review's forum. More or less the solution is to pass a unique identifier passed to the server when requesting the service.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic