Java implementation of domain system walker