I have a client sever system and need to synchronize the clocks. The constraints as as follows:
The server is an Weblogic EJB server. We currently communicate using RMI calls on the EJBs and through JMS.The clients are running JDK 1.4 on windows (XP, 2000, and possibly other flavors).The clients must be uniform within a tolerance of no more than 2 seconds, ideally 1 second or less. (This means no two client clocks can be more then 2 seconds apart).Uniform lag between all clients and the server is acceptable, although we would prefer to keep this under 2 seconds as well. The system is designed to work on college LAN, and hence has high bandwidth. It may also be used on remote college campuses, in which case there may be significantly longer ping times. (I'm willing to settle for a LAN only solution for now, if need be.)
I'm willing to settle (although its not preferable) for non-Java solutions, so long as they can be integrated into the
Java program. For example, if we installed some non-Java code on the server and all client which kept the clients in sync, and then the Java program could call this code to get the current time, that would be acceptable.
I would also prefer an off-the-shelf solution because this just got shifted into a high priority item.
Thanks in advance for your help.
--Mark