Added Core java sample