Download
comparison jersey and apache cxf n.
Skip this Video
Loading SlideShow in 5 Seconds..
Comparison Jersey and Apache CXF PowerPoint Presentation
Download Presentation
Comparison Jersey and Apache CXF

Comparison Jersey and Apache CXF

787 Views Download Presentation
Download Presentation

Comparison Jersey and Apache CXF

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Comparison Jersey and Apache CXF RESTfulwebservices

  2. License Jersey Apache CXF Apache License2.0 http://www.apache.org/licenses/ • CDDL 1.1 • GPL 2 with CPE • http://jersey.java.net/

  3. Documentation Jersey Apache CXF Large setofexamplesfor REST services http://cxf.apache.org/docs/index.html http://cxf.apache.org/docs/jax-rs.html • Good Wiki documentation • http://wikis.sun.com/display/Jersey/Overview+of+JAX-RS+1.0+Features • http://wikis.sun.com/display/Jersey/Main

  4. Mavensupport Jersey Apache CXF Yes http://cxf.apache.org/docs/jax-rs.html#JAX-RS-Mavendependencies • Yes • http://jersey.java.net/nonav/documentation/latest/user-guide.html#chapter_deps

  5. OSGi support Jersey Apache CXF Yes Subproject „Distributed OSGi“ http://cxf.apache.org/distributed-osgi.html • no

  6. Client API Jersey Apache CXF Http centricand Proxy based> Same interface / classasservercanbeused http://cxf.apache.org/docs/jax-rs-client-api.html • Only http centric • Proxy based in experimental stateusingownannotationsrelatedto „@HypermediaController“ • http://jersey.java.net/nonav/documentation/latest/experimental.html

  7. Generatedclientcode Jersey Apache CXF ??? • ???

  8. Spring frameworkintegration (Serverside) Jersey Apache CXF Yes But serviceshavetobedeclaredexplicitly Client:http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-ConfiguringproxiesinSpring • Yes • Services areautodetectedbycomponent-scan • http://blogs.oracle.com/enterprisetechtips/entry/jersey_and_spring#modpom

  9. Spring frameworkintegration (client) Jersey Apache CXF Yes http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-ConfiguringproxiesinSpring • no • http://blogs.oracle.com/enterprisetechtips/entry/jersey_and_spring#modpom

  10. Databinding Jersey Apache CXF XML JAXB interoperable with Jerseys XML transformation XMLBeans Aegis JSON not interoperable with Jerseys JSON translation Does not supportlistandothercollectioninterfaces http://cxf.apache.org/docs/jax-rs-data-bindings.html • XML • JAXB • interoperable with Apache CXFs XML translation • JSON • not interoperable with Apache CXFs JSON translation

  11. Security Jersey Apache CXF HTTPS http://cxf.apache.org/docs/secure-jax-rs-services.html • OAuth • http://developers.sun.com/identity/reference/techart/restwebservices.html • http://www.ericonjava.com/?p=325 • HTTPS • http://jersey.java.net/nonav/documentation/latest/user-guide.html#d4e784

  12. Webservice support Jersey Apache CXF Yes http://cxf.apache.org/docs/jax-rs-and-jax-ws.html (Apache CXF allowstointegrateinto a Enterprise Service Bus concept) • no

  13. PerformanceJersey-Server + Apache CXF client