java sample for E002 added