Created java-api sample
Changed name