update README with explanation on how to use Java cookbook