updated java cookbook from off. site