You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Kannan Ramasamy <ra...@gmail.com> on 2012/01/02 14:02:14 UTC

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 ?

 

Thanks 
Kannan

--
View this message in context: http://cxf.547215.n5.nabble.com/Spring-RESTful-service-vs-CXF-RESTful-service-tp5114651p5114651.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Spring RESTful service vs CXF RESTful service

Posted by antoine philippe chaker <ph...@gmail.com>.
Hello Kannan,

I'm not an expert in this two framework but i used to manipulate  this 2
frameworks every days.
It seems that Spring RESTful is based on Crossfire so on CXF but i'm not
100% sure !
But in deep, cxf offers a more flexible way if you have to turn on WSDL or
other web services technologie
and it's totally low biding.

Happy to help if i can.

2012/1/2 Kannan Ramasamy <ra...@gmail.com>

> Hi everybody,
>
>
>
> I have to choose between Sprign RESTful service and CXF RESTful service.
>
>
>
> Could someone compare  between both RESTful service  frameworks ?
>
>
>
> Thanks
> Kannan
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Spring-RESTful-service-vs-CXF-RESTful-service-tp5114651p5114651.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
*CHAKER Antoine Philippe Chekry*
*Ingénieur en Informatique*
*DĂ©veloppeur Java J2EE **,
<http://www.blackbeltfactory.com/ui#!User/aphilippe>WebMaster*
*CNPS - Cote d'Ivoire*
*
*

RE: Spring RESTful service vs CXF RESTful service

Posted by Kannan Ramasamy <ra...@gmail.com>.
Thanks for your help. 

I have read some blogs Spring RESTful doesn't support JAX-RS annotation,
apart from this we don't have any issue with Spring RESTful service. it
seems...





--
View this message in context: http://cxf.547215.n5.nabble.com/Spring-RESTful-service-vs-CXF-RESTful-service-tp5114651p5116578.html
Sent from the cxf-user mailing list archive at Nabble.com.

RE: Spring RESTful service vs CXF RESTful service

Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: Sergey Beryozkin [mailto:sberyozkin@gmail.com]
> Sent: Thursday, January 05, 2012 2:32 AM
> To: users@cxf.apache.org
> 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:ramkannan2003@gmail.com]
> >> Sent: Monday, January 02, 2012 5:02 AM
> >> To: users@cxf.apache.org
> >> 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.

Re: Spring RESTful service vs CXF RESTful service

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi,
On 02/01/12 21:41, KARR, DAVID wrote:
>> -----Original Message-----
>> From: Kannan Ramasamy [mailto:ramkannan2003@gmail.com]
>> Sent: Monday, January 02, 2012 5:02 AM
>> To: users@cxf.apache.org
>> 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.

RE: Spring RESTful service vs CXF RESTful service

Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: Kannan Ramasamy [mailto:ramkannan2003@gmail.com]
> Sent: Monday, January 02, 2012 5:02 AM
> To: users@cxf.apache.org
> 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.

Just to be clear, I am wholeheartedly "pro Spring", but this is one functional area where I choose to ignore Spring's implementation.