I am working on a telecommunication system to use RF modems for vehicles tracking. The system contains multiple base stations. The clocks of the station need to be synchronized. One popular protocol for this task is Simple Network Time Protocol (SNTP):
http://tools.ietf.org/html/rfc2030
I needed to provide a SNTP service from my server which is implemented in Java. So, instead of reinventing the wheel, I googled the net. It turned out that Apache Directory Server implements this protocol.
I checked out the source code from their svn http://svn.apache.org/repos/asf/directory/apacheds/branches/1.0/protocol...
The code needed little modifications to remove its dependencies on other components of ApacheDS. Apache MINA 1.1.x jar files should be added to the classpath. And bingo, I've got standalone or embeddable SNTP server up and running. The modification in the code is in this patch file http://obaidy.net/pub/code/jsntp.patch
Comments
Great Post i think it is
Great Post i think it is amazing.Thx for sharing.. if You would like to Matematyka also check some shool news atChemiaand read some great info about Fizyka
Post new comment