JAX-RS Specifications

JAX-RS: Java API for Restful web services It’s a Java API specification which uses Java SE 5 annotations (JSR 311 specifications) for creating web services according to the REST architectural style. Some of the annotations provided by JAX-RS to map java class as a web Resource are listed below @Path Specifies the relative Path of […]

Share this article on

HTTP methods and status codes in Rest service

The most commonly used HTTP methods in Rest services are as below 1) GET This method is used to Get the resource without making any modification to the resource. GET should only get the resource. We can call it as Read only method. 2) POST This method is used to create a new resource. Whenever […]

Share this article on