Hi Steinar,

I recommend to use the annotation from  osgi.cmpn.

javax.ws.rs can be provided by the spec or a impl (like CXF).

Regards
JB

On 14/07/2018 12:14, Steinar Bang wrote:
>>>>>> Scott Lewis <[email protected]>:
> 
> [snip!]
>> Yes.   I haven't looked at your annotations, and so don't know if they
>> all are from the javax.ws.rs packages...but assuming so...that's the
>> idea.
> 
> The DS annotations are from
>  mvn:org.osgi/org.osgi.service.component.annotations/6.0.0
> 
> The whiteboard constants used in the annotation arguments, are from
>  mvn:org.ops4j.pax.web/pax-web-extender/6.0.3
> 
> I haven introduced any javax.ws.rs stuff yet.
> 
> [snip!]
>> it doesn't currently use the http whiteboard, but it could...and may
>> eventually.
> 
> Ah, ok.  I need something that uses the http whiteboard.
> 
> But just annotating the service interface to get REST services would
> have been really neat. :-)
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to