Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advantage of RESTEasy over Apache CXF?

I have Restful web-service implemented using Apache CXF. Since I am going to use JBoss for deployment, I am thinking of moving to RESTEasy as it provides better JBoss integration.

What are the advantages of RESTEasy over Apache cxf apart from better server integration?

like image 260
Harsha Hulageri Avatar asked Aug 18 '10 18:08

Harsha Hulageri


1 Answers

I don't think there are many. To a large extent, it's a religious argument and an what-is-simplest-to-integrate-in-my-stack argument CXF is, I believe, JAX-RS compliant as is RESTEasy, and - personally - I think that should be your biggest driver. You should strive to develop for JAX-RS and then assume you can swap in different implementations if needed. Other factors to consider:

  • serialization (e.g., use of Jackson for JSON formatting) configurability, for both performance and general flexibility
  • client standardization - there currently is no JAX-RS client standard, but it's a space I would watch, since it would be nice to have the same guarantees for client code that JAX-RS provides server code
like image 105
kvista Avatar answered Sep 19 '22 23:09

kvista