added initial java samples