1) This lock interface recipe implements the lock recipe
mentioned in ../../docs/recipes.[html,pdf].
2) To compile the lock java recipe you can just run ant jar from
this directory. For compiling the c library go to zookeeper-client/zookeeper-client-c and read
the INSTALLATION instructions.
Please report any bugs on the jira
http://issues.apache.org/jira/browse/ZOOKEEPER