JSR-352 with RESTful API