JAX-RS is the specification for RESTFUL web services on the JEE platform. In this course we will take a look at the basic elements of building a REST service in Java. You will learn about how JAX-RS matches URL paths to java method calls as well as the various and many annotations that are provided by the framework to build a fully functional REST service. Code along with me and let’s build some RESTFul services.
In this course you will build a client server application from scratch using the Eclipse IDE and Apache Tomcat Server. You’ll see how you can create resources, how to configure CRUD requests, and how you can access those resources from a client application.
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 are 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.