You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Frederic Tuttle <ft...@oratu.net> on 2009/05/11 16:08:35 UTC

REST using CXF in SMX 3.3. Best practice ?

Greetings.

I would like to add a REST interface to my exiting servicemix CXF consumer
binding components using jsr 311 / jax.rs annotations.

My configuration is CXF-BC --> Camel-SE --> CXF-SE.  My WSDL is generated
from a Java interface defining the service.  It would be nice to add the
REST annotations there (the java interface for the service) but I don't know
if it is possible.  Is is possible to add REST annotations to an interface
?    It doesn't seem to make sense to add the annotations to the CXF SE bean
because that is exclusively for the impl logic.  Do I need an entirely
seperate SU to handle REST ?   What is the best practice ?  I was not able
to find a servicemix example for REST in CXF.    I am using SMX 3.3.

Thanks for your help.

   -FT