first java REST API