java implementation of polaris server code 2069925