Jax RS API and its implementation Clarification
- The API does not provide any implementation code (concrete classes that do the actual processing). The API only specifies interfaces, annotations, exceptions. There can be concrete classes with some very basic, core behavior. The idea of standard APIs, like JAX-RS, is to give developers something to code against regardless of the underlying platform and implementation.
- Jersey, RestEasy and CXF are the implementations - it includes many concrete classes that actually handle the business promised by the API according to JSR (Java Specification Request) 311. In JAX-RS case - it handles requests and responses.
Apache CXF - CXF is the implementation from Apache Group.
Jersey - the JAX-RS Reference Implementation from Sun.
We're using Jersey as its packed full of features (e.g. WADL, implicit views, XML/JSON/Atom support) has a large and vibrant developer community behind it and has great spring integration.
RESTEasy - JBoss's JAX-RS project.
If you use JBoss/SEAM you might find REST easy integrates a better option.
Note: Since Jboss acquired by RedHat Linux, Jboss origination has re-named the open Source Jboss to Wildfly and started releasing the version of Jboss after 7.0. Now the current Wildfly (Jboss) version is 10. Check for more info at http://wildfly.org/downloads/.
Now RedHat Jobss now called as Jboss EAP and enterprice version is now licensed.
https://www.redhat.com/en/eap-calculator
Now RedHat Jobss now called as Jboss EAP and enterprice version is now licensed.
https://www.redhat.com/en/eap-calculator
Comments
Post a Comment