JAX-RS Tutorial – Create Jakarta RESTful Web Services

The REST architectural pattern is widely adopted when it comes to creating web services. The term was first introduced by Roy Fielding in his dissertation and describes a way for clients to query and manipulate the resources of a server. With Jakarta RESTful Web Services (JAX-RS), formerly known as Java API for RESTful Web Services,

Read More

RESTEasy (WildFly – JAX-RS 2.1) file handling

In my latest blog post, I demonstrated a solution for up- and downloading files with Jersey (JAX-RS 2.1) on Payara. As WildFly does not rely on Jersey as the JAX-RS reference implementation and is using RESTEasy instead, I’ll show you a quick example for file handling with RESTEasy on WildFly. Setting up the backend using

Read More

JAX-RS user-based rate-limiting with JSR-375

Recently I had the requirement for rate-limiting access to specific JAX-RS endpoints and to keep track of the user’s current amount of API calls. To solve this problem I asked Adam Bien (@AdamBien) in his monthly Airhacks Q&A about this requirement and he gave me a hint for a possible solution while using the¬†ContainerRequestFilter interface

Read More