- REST is the acronym for REpresentational State Transfer.
- REST is architectural style pattern and it is not a protocol.
- Restfull webservice is a stateless client-server architecture.
- All services are a resource.
- Each resource is identified by the URI.
- REST Client applications can use HTTP GET/POST methods to invoke Restful web services.
- There is no specific for REST but mosly HTTP/HTTPS is used.
- XML,JSON or any other type of data can be used for communication.
- When compared to SOAP,REST is lightweight.
- Web services that conforms to the constraints of REST are called RESTful web services
- JAX-RS Specification is the Java API for RESTful web services.
- JAX-RS specification is the outcome of the Java Specification Request (JSR) 311, 339
- JAX-RS uses the declarative style of programming using annotations.
- JAX-RS uses annotations to simplify the development and deployment of web services.
- JAX-RS is part of JDK, so you don’t need to include anything to use it’s annotations.
- There multiple implementations for jax-rs,
- Jersey
- Rest easy by JBOSS