Expand my Community achievements bar.

SOLVED

Using Jersey Rest web services in CQ

Avatar

Level 2

Hi All,

Need pointers on how to implement Jersey REST services from within a CQ service. Is there a way to tell CQ that for urls like /rest/* go to Jersey servlet dispatchers so that all the methods annotated using Jersey annotation are called?

Thanks in advance,

Nitin

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

Make use of sling selectors http://sling.apache.org/documentation/the-sling-engine/servlets.html  Or felix http service 

Avatar

Level 2

Thanks a lot Sham for the pointer. Thanks