Added Java Sample for E002