users@jersey.java.net

[Jersey] Re: Registering an Inteface as a Rest Resource

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Sun, 06 Nov 2011 10:45:29 +0100

The (JAX-RS specific) sub-resource locator approach could of course be used
in combination with Spring or another DI framework.

You mentioned OSGi in your original post to be used to lookup
the service implementation. To replace OSGi service lookup
with Spring injection, you just need to update the content
of the lookupServiceImpl method.

HTH,

~Jakub

On 4.11.2011 18:02, Scorpio wrote:
> Thanks, but this approach will not be useful. Is it possible to do the same
> with Springs or something
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Registering-an-Inteface-as-a-Rest-Resource-tp6961906p6963437.html
> Sent from the Jersey mailing list archive at Nabble.com.
>