Hi the following feature has been created specifically for addressing the requirements like yours,
http://cxf.apache.org/docs/jax-rs-advanced-features.html#JAX-RSAdvancedFeatures-RESTfulserviceswithoutannotations Cheers, Sergey On Thu, Aug 25, 2011 at 7:35 PM, Osvaldo Pina <[email protected]> wrote: > Hi, > > I have a scenario where I have to create rest services for a > implementation class that already exists. I created a adapter that adapts an > annotated rest class to the implementation class and it worked fine, but it > would be better for me if I could provide some configuration (probably a xml > file) and programmability create the rest services based on this > configuration. Something like this: > > public Class MyImplementationClass { > > public int ten() { > return 10; > } > } > > <service-definition> > <path>/ten</path> > <class>MyImplementationClass</class> > <method>ten</method> > </service-definition> > > Can anyone help me on that? > > > Ats, > Osvaldo Pina. > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com
