Hi Frederic, The difference in the 4.x case would be that the cxf-transports-osgi layer, on which the cxf-jaxrs feature depends, sits completely apart from JBI. So there's no involvement with the NMR, instead in the incoming RESTful invocations are consumed directly from the OSGi HTTP service (which provides a cut-down servlet-engine style of runtime environment).
That's not to say we couldn't also support CXF JAX-RS in the 3.3.x CXF service engine. Certainly it is currently possible in bare CXF to use both the JAX-WS and JAX-RS annotations on the same interface. However it might involve a bit of work to ensure JAX-RS works properly within the CXF-SE and of course some testing. Even in the 4.0 case, a few tweaks were required. Can you raise a JIRA on this and assign it to me? I'll do an initial investigation at least. Cheers, Eoghan 2009/5/12 Frederic Tuttle <[email protected]>: > At this point I am constrained to 3.3. > Besides the issue of differences in packaging between 3.3 and 4.0, isn't the > CXF BC component the same between the two ? I thought that the components > were shared between 3.3 and 4. > I don't understand how REST is supported in 4 but not in 3.3. > > Any other help on my earlier questions is greatly appreciated. > > I will ask the CXF user list and see what they know. > Thanks. > > On Tue, May 12, 2009 at 4:57 AM, Freeman Fang <[email protected]>wrote: > >> Hi Eoghan, >> I'll take care of this patch. >> Thanks so much >> Freeman >> >> >> Eoghan Glynn wrote: >> >>> 2009/5/12 Freeman Fang <[email protected]>: >>> >>> >>>> Hi, >>>> I don't think cxf bc support REST in SMX3. >>>> But as I know some guys use cxf REST support in SMX4, you may post >>>> questions >>>> on cxf user list to get more REST expert guys help there... >>>> >>>> >>> >>> FYI if you are interested in using REST with SMX4, you might want to >>> look at the cxf-jaxrs feature (for ease of installation of the bundles >>> required for CXF JAX-RS support) and the examples-cxf-jaxrs feature >>> with a demo to illustrate CXF JAX-RS support running in SMX4. >>> >>> I submitted a patch >>> (https://issues.apache.org/activemq/browse/SMX4-279) adding these two >>> features a while back. I don't think this patch has been applied to >>> trunk as yet though. >>> >>> Cheers, >>> Eoghan >>> >>> >>> >> >> >> -- >> Freeman Fang >> ------------------------ >> Open Source SOA: http://fusesource.com >> >> >
