You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Brice Ruth <bd...@gmail.com> on 2007/05/22 05:30:59 UTC

mixing REST by convention & w/ annotations

Is it legitimate to mix the use of REST by convention (e.g. Message
getMessage(long id)) and REST using the annotations (overriding the
defaults), in the same service interface?

Thanks!

-- 
Brice Ruth
Software Engineer, Madison WI

Re: mixing REST by convention & w/ annotations

Posted by Brice Ruth <bd...@gmail.com>.
Thanks, Dan. Keep up the good work ;-)

On 5/22/07, Dan Diephouse <da...@envoisolutions.com> wrote:
>
> It should be. The HttpBindingFactory first tries the AnnotationStrategy
> and
> then ConventionStrategy. You can even insert your own strategy in there if
> you want :-)
>
> Regards,
> - Dan
>
> On 5/21/07, Brice Ruth <bd...@gmail.com> wrote:
> >
> > Is it legitimate to mix the use of REST by convention (e.g. Message
> > getMessage(long id)) and REST using the annotations (overriding the
> > defaults), in the same service interface?
> >
> > Thanks!
> >
> > --
> > Brice Ruth
> > Software Engineer, Madison WI
> >
>
>
>
> --
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.com/blog
>



-- 
Brice Ruth
Software Engineer, Madison WI

Re: mixing REST by convention & w/ annotations

Posted by Dan Diephouse <da...@envoisolutions.com>.
It should be. The HttpBindingFactory first tries the AnnotationStrategy and
then ConventionStrategy. You can even insert your own strategy in there if
you want :-)

Regards,
- Dan

On 5/21/07, Brice Ruth <bd...@gmail.com> wrote:
>
> Is it legitimate to mix the use of REST by convention (e.g. Message
> getMessage(long id)) and REST using the annotations (overriding the
> defaults), in the same service interface?
>
> Thanks!
>
> --
> Brice Ruth
> Software Engineer, Madison WI
>



-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog