1 / 13

Comparison Jersey and Apache CXF

Comparison Jersey and Apache CXF. RESTful webservices. License. Jersey. Apache CXF. Apache L icense 2.0 http://www.apache.org/licenses /. CDDL 1.1 GPL 2 with CPE http://jersey.java.net /. Documentation. Jersey. Apache CXF. Large set of examples for REST services

etenia
Download Presentation

Comparison Jersey and Apache CXF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related