S
sherazi
On my System there are two Ethernet Adapter attached. I want to bind
my remote object with particular IP address of Ethernet card .How I can
set IP address to which remote object cab be bind.
Following is the code for binding the object
systemProperties.put("java.rmi.server.hostname", serverAddress);
Registry reg =
LocateRegistry.createRegistry(Constants.RMI_REGISTRY_PORT);
reg.rebind("My Object", remoteobject);
Thanks in Advance.
my remote object with particular IP address of Ethernet card .How I can
set IP address to which remote object cab be bind.
Following is the code for binding the object
systemProperties.put("java.rmi.server.hostname", serverAddress);
Registry reg =
LocateRegistry.createRegistry(Constants.RMI_REGISTRY_PORT);
reg.rebind("My Object", remoteobject);
Thanks in Advance.