Java client add client stub implementation