A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
identifying rmi client
Joined: Jul 11, 2010
Jul 18, 2010 14:33:16
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???
Joined: Dec 08, 2002
Aug 22, 2010 02:13:55
There are several discussions on this topic e.g. at the
Velocity Review's forum
. More or less the solution is to pass a unique identifier passed to the server when requesting the service.
I agree. Here's the link:
subject: identifying rmi client
Can RMI work on virtual ip?
why this exception?
RMI client connecting to multiple IP/ports
Socket programming, Corba and RMI
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014