Hi Paul,
On 10/30/07, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
> On the Resource Class Scanner: this is really cool stuff. I recommend
> you write a different servlet adapter (to that of
> com.sun.ws.rest.spi.container.servlet.ServletContainer) using the
> scanner implementation ...
>
> Paul.
>
I think is better to write a subclass of
com.sun.ws.rest.api.core.DefaultResourceConfig wich can be selected
via an init parameter in the web.xml. By this way is easier for the
user to select the desired implementation.
Also is necessary to add an init(String[] paths) method to the
ResourceConfig interface, by this way is easy to tell to the
ResourceConfig implementation where to find the resources in a
decoupled way.
What do you think?
--
Frank D. Martínez M.
Asimov Technologies Ltda.
Blog: http://www.ibstaff.net/fmartinez/