On 20/12/11 21:24, Ari King wrote:
How can I share a root resource across multiple classes? For example, I have two classes, ProfileDataService& ProfileUploadService, that handle requests for information and uploads respectively. How can I have both of these classes and their respective methods share the root "/profiles"? Thanks.
Try ResourceComparator, please see http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-Customselectionbetweenmultipleresources.
You might also want to experiment with having unique root Path values Cheers, Sergey
-Ari
-- Sergey Beryozkin Talend Community Coders http://coders.talend.com/ Blog: http://sberyozkin.blogspot.com
