aspose file tools*
The moose likes Distributed Java and the fly likes identifying rmi client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "identifying rmi client" Watch "identifying rmi client" New topic
Author

identifying rmi client

Walid Mohamed
Greenhorn

Joined: Jul 11, 2010
Posts: 10

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

Joined: Dec 08, 2002
Posts: 62

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.


Pierre
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: identifying rmi client
 
Similar Threads
Can RMI work on virtual ip?
RMI client connecting to multiple IP/ports
Socket programming, Corba and RMI
RMI lookup
why this exception?