Updated java cookbook
Merge pull request #4 from TargaFlorio/master

Updated java cookbook