REST stands for Representational State Transfer. It is a web service architecture that focuses on the system resources. Each resource is identified by a URI (Unified Resource Identifier). Accessing the resources is done using HTTP. The server reply is the representation of the resource we try to access. This representation is usually an XML document.
JSR 311 specifies Java API for REStful web services. It aims at allowing us to develop REStful web services in a standard way
Jersey is the reference implementation for JSR 311. We can easily integrate Jersey with Tomcat in order to develop a REStful web service.
The following video clip shows how to develop a simple Hello World REStful web service using the Jersey.
The following video clip shows how to develop a simple REStful web service that receives parameters.
The following video clip shows how we can develop a REStful web service that works in according with the URL path segments.