REST is an architectural style which is based on web-standards and the HTTP protocol.
In a REST based architecture everything is a resource. A resource is accessed via a common interface based on the HTTP standard methods.. GET, POST.. PUT!
JAX-RS provides some annotations to aid in mapping a resource class (POJO) as a web resource.
Jersey framework is more than the JAX-RS Reference Implementation.
Start: https://jersey.java.net/
The response can be: Text,Html,Json, XML and file…
Your web services works on desktop browser, on mobile app … use Eclipse+API and write the code… can find example everywhere and they are very simple!
Leave a Reply