Paul Sandoz wrote:
> This switches to using the package scanning technique rather than the
> class path scanning technique, which is more portable.
>
> So if the package of your AuthorizedApplicationsResource class was say
> "com.foo", you can replace "*';' separated package names*" as above with
> "com.foo".
>
> We are slowly converting over the examples to use maven and as part of
> that they will use the above style configuration and should be more
> portable. Plus i would like to make this easier and not require the
> first init-param.
>
- Simplified web.xml configuration when using package scanning for root
resource classes. For package scanning the web.xml need only contain
the following:
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>*list of ';' separated package names*</param-value>
</init-param>
previously it was necessary to declare another <init-param>
referencing the PackageResourceConfig class.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109