Separating RESTEasy Spring And Microprofile Components Into Independent Subprojects. Currently we are doing the task of separating RESTEasy Spring and Microprofile components into independent sub-projects, and here are the sub-projects we are working on: https://github.com/resteasy/resteasy-spring https://github.com/resteasy/resteasy-microprofile There are several reasons to do this: These Spring and Microprofile components are relatively independent from the main project, so moving them into their separate sub-projects makes them more independent and make their release cycles... Wei Nan Li • July 29, 2021 Read More
RESTEasy 4.7.0.Final is now available I'm pleased to announce that RESTEasy 4.7.0.Final has been released. New Features A Reactor-Netty server adaptor has been introduced to pair with the reactor-netty client. Better support for Java 16 and the up and coming Java 17 release. Due to these changes RESTEasy now requires Java 11 as it's minimum compile level. However, it still supports the Java 8 runtime. Support for reactive publishers for the HTTP client... James R. Perkins • July 08, 2021 Read More
Quarkus 2, RESTEasy 4.6 fixes and more I'm sure you heard Quarkus 2.0 has been released last week; one of the interesting additions of the second major of Quarkus is MicroProfile 4 support... and when it comes to MicroProfile REST Client 2.0 implementation that has been achieved my moving from the 4.5 to the 4.6 series of RESTEasy. In particular, the RESTEasy team has recently produced a 4.6.1.Final bug fix release, addressing most of... Alessio Soldano • July 06, 2021 Read More
JAX-RS ParamConverter with Quarkus Recently RESTEasy had a request by a user who was implementing their REST service with Quarkus for support of an endpoint input parameter type java.time.Instant. Lets look at how the user can provide support for java.time.Instant or any other data type in their REST application. The code used in this discussion can be found here. First lets create a Quarkus getting-started app [1] to use in examining this issue. mvn... Rebecca Searls • April 05, 2021 Read More
RESTEasy 3.15.0.Final is now available Version 3.15.0.Final of RESTEasy is now available. The notable new feature is support for MicroProfile REST Client 2.0. Note that MP REST Client 2.0, besides new features like incorporation of SSE and greater CDI integration, now depends on Jakarta EE 8 APIs instead of Java EE 7. See the release notes for more information. There are also upgrades and bug fixes. As always, feedback is welcome. Stay safe, and, depending... Ron Sigal • February 18, 2021 Read More
RESTEasy WADL module deployment on Wildfly There was request to include RESTEasy WADL module into WildFly by default. While the issue is under discussion, we can have an example showing how to deploy the RESTEasy WADL module by yourself into WildFly. To achieve the goal, firstly we need to add the resteasy-wadl as the dependency of the project we want to deploy to WildFly. And if the project is using Maven, here is the configuration need be put into pom... Wei Nan • January 18, 2021 Read More
RESTEasy 4.6.0.Final is now available Version 4.6.0.Final of RESTEasy is now available. Some notable enhancements are implementation of MicroProfile REST Client 2.0; integration with the WildFly Elytron security framework; updates to RESTEasy configuration. Note that MP REST Client 2.0 has backward incompatible changes. In particular, it now depends on Jakarta EE 8 APIs. See the release notes for more information. Elytron is WildFly's unified security framework, and now RESTEasy Clients can use Elytron to... Ron Sigal • January 14, 2021 Read More
Introducing RESTEasy Reactive The RESTEasy community has been very active during the last two years and the project has seen a lot of improvements and additions. In addition to the usual standalone and WildFly related usage scenarios, we've seen a lot of interest coming from the Quarkus community, due to RESTEasy providing the base REST engine in it. The result has been RESTEasy 4 series starting embracing reactive, with innovation going beyond the few additions mandated by... Alessio Soldano • December 07, 2020 Read More
Untangling Reactive Streams' Gordian Knot, Wiring Subscriber, Publisher and Subscription At first look the Reactive Streams 1.0 Specification and its four short interfaces look straight forward to learn but libraries that implement Reactive Streams must provide a lot of infrastructure to enable it to work in the manner intended by the specification. These additions add a layer of complexity to the learning process. This article will strip away some of these complexities and look at the bare bones wiring of a Subscriber to a... Rebecca Searls • November 23, 2020 Read More
Restful service with bootable jar WildFly provides another very easy to use tool to package your application and whole WildFly server in a jar file to help you implement/deploy MicroService. Like the uber or fat jar approach, whole application can be started with one command line: java -jar myapp-bootable.jar The WildFly sever packaged in this bootable jar file is not a big size one which contains a lot of things your application doesn't need. Thanks for... Jim Ma • October 21, 2020 Read More
RESTEasy 4.5.8.Final and 3.13.1.Final released Two new releases, 4.5.8.Final and 3.13.1.Final are now available. 4.5.8.Final, besides bug fixes, upgrades, and performance improvements, adds a new method, ResteasyClientBuilder.disableAutomaticRetries(), which disables HTTP retries. Note that we have skipped over 4.5.7.Final due to a glitch in the release process. 3.13.1.Final just has bug fixes and one upgrade. Stay safe! The RESTEasy Team • September 24, 2020 Read More
A couple of summer releases: RESTEasy 4.5.6.Final and 3.13.0.Final Users frequently scanning github for contributions and releases of RESTEasy might have noticed that during the past weeks we've tagged 4.5.6.Final and 3.13.0.Final. Since yesterday, the website is also providing the corresponding downloads. The main motivation for the new 4.5 micro version is fixing a nasty security issue (CVE-2020-14326) that could be exploited to cause a DoS; we encourage eveybody running on RESTEasy 4.2... Alessio Soldano • July 30, 2020 Read More
Trim WildFly To Run Restful Service With WildFly Galleon When we deploy Restful web service to WildFly Server, you might find that WildFly includes several components/subsystem your application doesn't actually use. Even these subsystems are lazily loaded, it's still consumes some disk spaces. Especially when moving to the cloud native architecture, we need the application server small size and start fast. WildFly Galleon project is created to install, uninstall or patch product with a xml customization definition or command line flags... Jim Ma • June 19, 2020 Read More
MicroProfile Config 1.3; Examination of The Out-Of-The-Box ConfigSources for a RESTEasy Application In this article we will examine the out-of-the-box ConfigSources the MicroProfile Configuration specification mandates every implementor provide and the three ConfigSources RESTEasy provides for each servlet and filter. I will show how these ConfigSources are used to customize the configuration of a simple REST application that runs in Wildlfy, and discuss some of the nuances in their use. I have created a REST application whose endpoints use MicroProfile-Configuration's APIs to... Rebecca Searls • June 14, 2020 Read More
MicroProfile REST Client 1.4; Examination of a MicroProfile REST Client Application In this article I will create a simple MicroProfile Rest Client that calls a remote service. In the process I will discuss the nuances in creating the REST client endpoint. What is unique about @RegisterRestClient. Why both @RegisterRestClient and @Path are required to be declared on the REST client endpoint and the rules in setting the baseUri on that class. Requriements Source code: microprofile-rest-client WildFly 19 or newer maven JDK 1.8 or... Rebecca Searls • June 01, 2020 Read More