Expand my Community achievements bar.

SOLVED

Exposing REST Web Services in AEM

Avatar

Level 3

Hi,

There is a requirement where we have to expose REST services in AEM so that this service can be consumed by third party applications. I know, using Sling Servlets we can do this, however, I was wondering if we can leverage OSGi Service class with JAX-RS? Can anyone please advise how can we achieve this? Do we need a separate web container? Or, if there is any other way to expose REST services in AEM?

Many Thanks,

-Jay

1 Accepted Solution

Avatar

Correct answer by
Level 1
Sling Servlets are a great way to expose functionality in a RESTful way.  Using a different framework to expose Service functionality sounds like unnecessary work. http://www.aemcq5tutorials.com/tutorials/sling-servlet-in-aem/

View solution in original post

3 Replies

Avatar

Correct answer by
Level 1
Sling Servlets are a great way to expose functionality in a RESTful way.  Using a different framework to expose Service functionality sounds like unnecessary work. http://www.aemcq5tutorials.com/tutorials/sling-servlet-in-aem/

Avatar

Level 1
                Sling Servlets are a great way to expose functionality in a RESTful way.  Using a different framework to expose Service functionality sounds like unnecessary work. http://www.aemcq5tutorials.com/tutorials/sling-servlet-in-aem/

Avatar

Community Advisor

Hi,

Please check this also.

https://helpx.adobe.com/experience-manager/using/restful-services.html

Here in this article you will find Adobe Experience Manager bundle that consumes data from a third-party Restful web service and displays the data in an AEM web page.

 

~ Prince