JAX-RS
-
Enterprise Java
How To Stream/Serialize JPA Result As JAX-RS Response For Large Data
There are times that retrieving a large data set through JPA is necessary (e.g. more than 1,000,000 records) and having…
Read More » -
Enterprise Java
Java REST JAX-RS 2.0 – How To Handle Date, Time and Timestamp Data Types
Be it X-Form-Urlencoded or JSON HTTP post to a REST resource end-point, there is no specific “data type” for date…
Read More » -
Enterprise Java
Using @Context in JAX-RS [part 1]
JAX-RS provides the @Context annotation to inject a variety of resources in your RESTful services. Some of the most commonly…
Read More » -
Enterprise Java
JAX-RS 2.x vs Spring MVC: Returning an XML representation of a list of objects
JSON is King as it goes to all kinds of REST* APIs, but still you may need to expose multiple…
Read More » -
Enterprise Java
Handling time outs in Async requests in JAX-RS
JAX-RS 2.0 provides support for asynchronous programming paradigm, both on client as well as on the server end. This post…
Read More » -
Enterprise Java
Quick peek at JAX-RS request to method matching
In this post, let’s look at the HTTP request to resource method matching in JAX-RS. It is one of the…
Read More » -
Enterprise Java
RESTful Charts with JAX-RS and PrimeFaces
Oftentimes, it is useful to utilize a chart for providing a visual representation of your data. PrimeFaces supplies charting solutions…
Read More » -
Enterprise Java
Simplifying JAX-RS caching with CDI
This post explains (via a simple example) how you can use CDI Producers to make it a little easier to…
Read More » -
Enterprise Java
Quick way to check if the REST API is alive – GET details from Manifest file
There might be cases when you want to quickly verify if your REST API, that is deployed either on dev, test…
Read More »