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
Just to be clear, I am wholeheartedly "pro Spring", but this is one functional
area where I choose to ignore Spring's implementation.