RESTEasy advantage over Apache CXF?

I have a Restful web service implemented using Apache CXF. Since I'm going to use JBoss for deployment, I'm going to upgrade to RESTEasy, as it provides better JBoss integration.

What are the advantages of RESTEasy over Apache cxf in addition to better integration with the server?

+5
source share
1 answer

I don’t think there are many of them. To a large extent, this is a religious argument and the “easy-to-integrate into my stack” argument of the CXF, I find it compatible with JAX-RS, like RESTEasy, and - personally - I think it should be your biggest driver. You should strive to develop for JAX-RS, and then assume that you can swap different implementations if necessary. Other factors to consider:

  • serialization (e.g. using Jackson formatting for JSON), both for performance and overall flexibility
  • client standardization - there is currently no standard JAX-RS client standard, but this is the space I would look for, since it would be nice to have the same guarantees for the client code that JAX-RS provides the server code
+7
source

All Articles