java version of pool server infracture