Hi Chathuri, Yep totally understood that's the same way CXF works as long as you use the standard JSR-311 JAXRS annotations. You can simply do a drop in jar replacement and you're good to go.
The big difference between Jersey and CXF is that using CXF is eating the ASF's own "dog food" and promoting our own products, which is a good thing. Jersey isn't an ASF product and I'm always a fan of trying to find an ASF produced dependency first. Cheers, Chris On Aug 28, 2012, at 12:02 PM, Chathuri Wimalasena wrote: > Hi Chris, > > We are only using Jersey dependencies with standerd REST annotations. So > moving to another framework is just a matter of changing the dependencies > which will not be that hard hopefully. We haven't decide on what framework > to use for the moment. We will have a look at on available REST frameworks > and update the thread on the progress. > > Thanks your views and points. > > Regards, > Chathuri > > On Tue, Aug 28, 2012 at 9:58 AM, Suresh Marru <sma...@apache.org> wrote: > >> >> On Aug 28, 2012, at 12:16 AM, "Mattmann, Chris A (388J)" < >> chris.a.mattm...@jpl.nasa.gov> wrote: >> >>> Hi Lahiru, >>> >>> On Aug 27, 2012, at 9:07 PM, Lahiru Gunathilake wrote: >>> >>>> On Mon, Aug 27, 2012 at 11:25 PM, Saminda Wijeratne <samin...@gmail.com >>> wrote: >>>> >>>>> Thanks Amila for the explanation. While it is done, might I suggest >> try not >>>>> to follow the RegistryAPI as it is for the REST API? The Registry API >> you >>>>> see today is something that kept evolving for sometime when different >>>>> requirements have being presented. Thus it will not look ideal for an >> API >>>>> to access a registry. >>>>> >>>> +1 for this, we need to sit down and discuss what needs to be expose in >>>> REST API, rather directly mapping registry-api methods in to a REST >>>> service. >>>> >>>> I think CXF would be little bulky for this this, we already have a SOAP >>>> engine (Axis2) running with all the other services, but Chathuri can you >>>> please compair how easy to use CXF over Jersey and how heavy they are... >>> >>> See TIKA-593 [1]. CXF only has 6 required deps in its latest version and >> it pretty much >>> a drop in Maven replacement for JAX-RS support (TIKA-593, as well as >> Apache OODT >>> CAS curator [2]). >> >> Last night I was trying to get first hand experience with RESTeasy, >> RESTlets and Jersey so I can weigh in. I was personally inclined to Jersey >> and was about to say + 1 for it. I also noticed it is dual licensed and we >> can use the CDDL and the jars are already in maven central. >> >> But when I look now at TIKKA-593, looks like who ever makes this call need >> to spend some time and evaluate other options including CXF. I also suggest >> Axis2 (because we have other services in it and also have a good number to >> cross-committers) and Spring MVC. >> >> In any case, I will go + 0 for any toolkit you all pick. Lets focus on the >> wine itself and just pick a bottle -- just need to make sure it does not >> break in shipping :). >> >> Suresh >> >>> Cheers, >>> Chris >>> >>> [1] https://issues.apache.org/jira/browse/TIKA-593 >>> [2] http://oodt.apache.org/components/maven/curator/ >>> >>> >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> Chris Mattmann, Ph.D. >>> Senior Computer Scientist >>> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA >>> Office: 171-266B, Mailstop: 171-246 >>> Email: chris.a.mattm...@nasa.gov >>> WWW: http://sunset.usc.edu/~mattmann/ >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> Adjunct Assistant Professor, Computer Science Department >>> University of Southern California, Los Angeles, CA 90089 USA >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> >> >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.a.mattm...@nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++