Simple dCache Access Protocol (DCAP) in java