exaple restful web service using java for J