added java sample to the presentation