> -----Original Message----- > From: Sergey Beryozkin [mailto:[email protected]] > Sent: Thursday, January 05, 2012 2:32 AM > To: [email protected] > Subject: Re: Spring RESTful service vs CXF RESTful service > > Hi, > On 02/01/12 21:41, KARR, DAVID wrote: > >> -----Original Message----- > >> From: Kannan Ramasamy [mailto:[email protected]] > >> Sent: Monday, January 02, 2012 5:02 AM > >> To: [email protected] > >> Subject: Spring RESTful service vs CXF RESTful service > >> > >> Hi everybody, > >> > >> I have to choose between Sprign RESTful service and CXF RESTful > >> service. > >> > >> Could someone compare between both RESTful service frameworks ? > > > > I think many people would definitely appreciate a more detailed > examination of this. > > > > One foundational difference is that CXF implements the JAX-RS > specification, whereas Spring by itself simply provides ad hoc RESTful > features. One particular feature set that JAX-RS provides is the WADL, > which CXF can generate automatically, and which integrates with some > testing tools (SoapUI, for instance) and documentation generators. > Spring by itself doesn't do anything comparable. > > > > Also note that CXF is not the only implementation of the JAX-RS > specification. Jersey is another implementation, and the existence of > both will hopefully improve both over time. > > > > You'll note that if you read any articles about REST that are either > from SpringSource or implicitly connected to it, there will be no > mention of the JAX-RS specification, or the implementations of such, > and any feedback mentioning that fact will be ignored. > > I think it is more to do with the politics/overall strategy as opposed > to say SpringSource finding the JAX-RS specification being not good > enough. > Cheers, Sergey
I think it would be a very good idea for one of you working on the JAX-RS implementation to write a bookmarkable statement in the doc explaining what advantages JAX-RS in CXF provides over Spring MVC. I often see questions about this. It would be good to have a complete response to this that I could send people to.
