Hi Gustavo, I have a very strong feeling against more complex operations in the ZK server. These are things that should be provided by a ZK client helper library. The zkclient library from 101tec for example gives you exactly that. If you're planning to write another layer on top of the ZK API please have a look at https://issues.apache.org/jira/browse/ZOOKEEPER-835 I'm planning to provide an alternative java client API for 3.4.0 and would then propose to deprecate the current one in the long run. You can preview the new API at http://github.com/thkoch2001/zookeeper/tree/operation_classes However we need to redo it on top of ZOOKEEPER-823 ones it is applied to trunk.
Best regards, Thomas Koch, http://www.koch.ro