Java implementation for BRPC