Your browser does not support this video.
RESTful Services, Part 3: Response, Form, and Exceptions
with expert John Kidd
JAX-RS normally will take care of building the response based on your return from your REST method call. Sometimes though, you need to take total control over how that response is generated. In this course, we will look at using the ResponseBuilder. You will also learn how to use the ResponseBuilding APIs to generate custom responses when exceptions occur. Lastly, because we need to update and create as well as read, we will take a look at form submission to a rest service and how to submit JSON objects.Course Outline