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

Read more

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