|
|
Re: Jini works under a zeroconf network
|
Posted: Apr 13, 2004 10:47 AM
|
|
> Does anyone try a Jini program under a zeroconf network? > If I run Reggie, HTTP server, service and client in one PC > which meets requirements of zero configuration network, > the Jini program works fine except a little bit slowly.
The Java security policy provider will use reverse DNS to locate the name associated with any IP address it considers for security validation. These lookups will slow things down.
To find out more about what parts of the system are running when you perceive things as slow, use the CTRL-\ (on UN*X OSes such as Linux/Solaris) or CTRL-BREAK (on windows) in the window the JVM is running. This will provide a nice thread dump so that you can see which threads are stuck at which places.
In the case of reverse DNS, the only solution is to either populate the /etc/hosts (or /windows/system32/drivers/etc/hosts) file with names and addresses, or run a DNS server that works for your isolated network.
zeroconf is great right up to the point that software is expecting hostnames...
|
|