4 Replies Latest reply on Nov 13, 2009 12:38 PM by jpebe001

    RestEasy vs CXF JAX-RS


      Hi there,

      I read with interest that JBoss is moving towards the CXF stack (and dumping the native and the Metro stack) for webservices.

      My question is why does JBoss support two equivalent REST implementations - RESTEasy and CXF JAX-RS ? What is the advantage of one over the other ? Is JBoss thinning out it efforts here too ? Do you have any real world examples when I should choose one technology instead of the other ?

      Many Thanks
      JP

        • 1. Re: RestEasy vs CXF JAX-RS
          asoldano

          The JAX-RS features of CXF are currently not properly integrated in JBossWS-CXF. Some work still need to happen and we actually still need to decide what solution to use (RESTEasy vs CXF JAX-RS impl) when installing JBossWS-CXF.
          I suggest you monitor https://jira.jboss.org/jira/browse/JBWS-2670 which is about the same topic, generally speaking JBWS 3.3.x should address this JAX-RS topic.

          • 2. Re: RestEasy vs CXF JAX-RS

            Salve Alessio, come va ?

            We have been playing around with JAX-RS and trying to make it work in JBoss for two days (and we got almost nowhere - and keep getting all sorts of exceptions: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=163683 amongst other errors).

            I think something like your post should go in a very prominent location in the documentation (there is almost nothing mentioned on the JBoss site - or did we miss it ?). As energetic developers, we found the version of the Apache CXF included in the jbossws stack and tried to follow the Apache CXF documentation reasoning that anything supported by APpache CXF will be available through JBoss - and hence JAX RS 1.0. Maybe we were over-zealous.

            Alessio, what kind of timelines are you looking at for JBossWS 3.3.x ? I am personally interested in this. Is there anything I can do to help you out ? Some particular piece of engineering which needs to be done ? Are you short on resources ?

            Thanks
            JP, Malta.



            • 3. Re: RestEasy vs CXF JAX-RS
              asoldano

              We plan to have the first release of 3.3.x in Q1 2010, I'd say not before March 2010 (http://www.jboss.org/community/wiki/JBossWSRoadmap) and yes, if you're interested in this, your help would probably be interesting and accepted. Perhaps you could start looking at the integration project structure [1] while we start thinking about the way to go (RestEasy or not) next week or so. Then we might think about a way for you to start contributing, sounds good?

              [1] http://www.jboss.org/jbossws/sourcecode.html

              • 4. Re: RestEasy vs CXF JAX-RS

                I'll send you an email during the weekend...