Learn to build JAX-RS 2.0 HATEOAS links in REST resources using it’s javax.ws.rs.core.Link, javax.ws.rs.core.UriBuilder and javax.ws.rs.core.UriInfo classes.
Learn to REST build APIs using JAX-RS 2.0 and RESTEasy 3.1.2.Final ,Servlet 3.0 container, by configuring resteasy-servlet-initializer and @ApplicationPath.
Although SOAP and RESTful Web Services – both serve the same purpose i.e. building applications based on SOA (Service-Oriented Architecture), yet they are pretty much different in the way how they help in achieving the final output. Let’s note down the most noticeable differences between SOAP and REST based APIs: SOAP REST SOAP is a […]
JAX-RS Resteasy has automatic GZIP decompression support. If the client framework or a JAX-RS service receives a message body with a Content-Encoding of “gzip”, it will automatically decompress it. The client framework automatically sets the Accept-Encoding header to be “gzip, deflate”. So you do not have to set this header yourself. To use gzip compression, […]
JAX-RS 2.0 has brought lots of improvement over previous version. One of major improvement is client API which was completely missing in JAX-RS 1.0. While it was easy to write a portable JAX-RS service, each JAX-RS implementation defined their own proprietary API. JAX-RS 2.0 fills in this gap with a fluent, low-level, request building API. […]