This article will teach you the simplest way to map Date and Time fields in an Entity when the request/response is from a REST Endpoint.
RESTEasy is a JBoss / Red Hat project that provides various frameworks to help you build RESTful Web Services and RESTful Java applications. It is an implementation of the Jakarta RESTful Web Services, an Eclipse Foundation specification that provides a Java API for RESTful Web Services over the HTTP protocol.
Moreover, RESTEasy also implements the MicroProfile REST Client specification API.
RestEasy Client API made simple
This article introduces you to an example application which uses RESTEasy Client library to access a remote REST Service.
How to solve could not find writer for content-type application/json type
In this short tutorial we will learn how to fix a common error that you can hit when deploying REST Web service that produce or consume JSON content type.
RESTEasy Basic Authentication example
In this tutorial we will demonstrate how to use a BASIC authentication in your REST Services using RESTEasy on the backend and the DefaultHttpClient on the client side.
Please note: this tutorial uses WildFly legacy security framework (Picketbox). If you want to learn how to secure JAX-RS Services using Elytron Security Framework check this article: Securing JAX-RS Services in WildFly applications
How to handle Exceptions in JAX-RS applications
This article will teach you how to handle Exceptions properly in RESTful Web services using JAX-RS API and some advanced options which are available with RESTEasy and Quarkus runtime.
Getting started with JAX-RS Client API
This article is a walk through JAX-RS Client API for testing REST Endpoint using WildFly / JBoss EAP 7 as REST provider.
Coding Filters and Interceptors for your RESTFul services
Jakarta Restful Web Services includes an Interceptor API that allows developers to intercept request and response processing. This allows addressing some advanced concepts like authentication, caching, and compressing without polluting application code. Jakarta Restful Web Services define two broad categories to intercept requests and responses: Filters and Entity Interceptors. Filters are used to modify or … Read more
Getting started with RESTEasy and WildFly
A REST API, also known as a RESTful API, is an application programming interface that conforms to the constraints of the REST architectural style. When a client sends a request using a RESTful API, it transfers a representative state of the resource to the requester or endpoint. The information can use several formats, such as: … Read more
REST CRUD application with JPA | A complete example
This tutorial will teach you how to create an example REST (JAX-RS) CRUD application (to be run on the top of WildFly application server) which uses JPA to store your Resources. Building the CRUD JAX-RS Service Our JAX-RS Service will use the following HTTP methods to send and retrieve data from/to the server: GET: The GET … Read more
Configuring RESTEasy Applications
Since WildFly 20, you can configure RESTEasy through the MicroProfile Config project (https://github.com/eclipse/microprofile-config). The use of MicroProfile Config offers to REST developers a plenty of flexibility in controlling runtime configuration. If you want to read more details about MicroProfile Config API, we recommend checking this tutorial: Configuring Microservices with MicroProfile Configuration In a nutshell, the … Read more