JAX-RS
-
Enterprise Java

A configurable JAX-RS ExceptionMapper with MicroProfile Config
When you create REST services with JAX-RS, you typically either return nothing (so HTTP 201/2/4 etc) or some data, potentially…
Read More » -
Enterprise Java

Speed Up Services With Reactive API in Java EE 8
Services can often be optimized with asynchronous processing even without changing their behavior towards the outside world. The reason why…
Read More » -
Enterprise Java

Java EE MVC: Handling form validation
In this post we will have a look on form validation in Java EE MVC. Java EE MVC integrates with…
Read More » -
Enterprise Java

Moving With The Times: Towards OpenAPI v3.0.0 adoption in JAX-RS APIs
It is terrifying to see how fast time passes! The OpenAPI specification 3.0.0, a major revamp of so-get-used-to Swagger specification,…
Read More » -
Enterprise Java

JAX-RS Tutorial with Jersey for RESTful Web Services
In today’s world data plays a very important role. With so many applications using various types of data for different…
Read More » -
Enterprise Java

Run away from ‘null’ checks feast: doing PATCH properly with JSON Patch
Today we are going to have a conversation about REST(ful) services and APIs, more precisely, around one peculiar subject many…
Read More » -
Enterprise Java

Handle custom exception types in JAX-RS
JAX-RS supports handling custom exceptions — thrown in either EJBs or CID beans — to custom HTTP responses. Assuming we have an “exceptional” EJB:…
Read More » -
Enterprise Java

Using JAX-RS exceptions for status codes
One way to send specific HTTP (error) status codes from a JAX-RS resource is to use the javax.ws.rs.core.Response class with…
Read More » -
Enterprise Java

Jersey client dependencies for JAX-RS 2.1
Jersey is the reference implementation of JAX-RS 2.1. The following Jersey dependencies are required in order to run a JAX-RS…
Read More »

