first java restful