Tag: rest
What is Web Services, Web Services Introduction
What is Web Services ? Over the internet, you might have seen different kinds of definitions for Web services. My definition will almost resembles them 🙂 Web Services, the name it self indicates that its a service which is available…
RESTful Web Services (JAX-RS) @FormParam Example
By using @FormParam annotation, RESTful web service would accept HTML form parameters sent by the client in the POST request and bind them to the method variables. Generally @FormParam will come into picture when client send the data in…
How to Test (JAX-RS) RESTful Web Services
In this article i will show you how to test RESTful web service (JAX-RS), so far we have learned how to create a RESTful service and testing GET and POST requests through some web browser. But in real time…
JAX-RS XML Example With JAXB Using Jersey
In this article i will give you an example on how a RESTful web service produces XML response using Jersey. Basically JAX-RS supports conversion of java objects into XML with the help of JAXB. As Jersey it self contains…
JAX-RS Example of Multiple Resource Formats
This article will describe how a RESTful web service produces multiple output formats. In the previous articles we came across how a RESTful service produces either XML or JSON alone as an output, but in this article i will…
Spring Boot – Example of RESTful Web Service with XML Response
Spring boot services by default gives the response in JSON format, but we can reverse this functionality in such a way that the default response will be in XML. In order to do that we have to add a…
Spring Boot – RESTful Web Service with POST Request in JSON Example
In the previous articles I didn’t get a chance to use the POST request in the examples, but this is very important. In this article I am going to show you how to create a Spring Boot REST service…