Need advice about which tool to choose?Ask the StackShare community!
Apache CXF vs Jersey: What are the differences?
What is Apache CXF? An open source services framework. It helps you build and develop services using frontend programming APIs, like JAX-WS and JAX-RS. These services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA and work over a variety of transports such as HTTP, JMS or JBI.
What is Jersey? *A REST framework that provides a JAX-RS implementation *. It is open source, production quality, framework for developing RESTful Web Services in Java that provides support for JAX-RS APIs and serves as a JAX-RS (JSR 311 & JSR 339) Reference Implementation. It provides it’s own API that extend the JAX-RS toolkit with additional features and utilities to further simplify RESTful service and client development.
Apache CXF belongs to "Composable Web Service Framework" category of the tech stack, while Jersey can be primarily classified under "Microframeworks (Backend)".
Pros of Apache CXF
Pros of Jersey
- Lightweight4
- Fast Performance With Microservices1
- Java standard1