Nameserver implementation with Java