a java Distributed learn