Exposing REST Web Services in AEM | Community
Skip to main content
Level 3
April 17, 2017
Solved

Exposing REST Web Services in AEM

  • April 17, 2017
  • 3 replies
  • 7057 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darrin_Johnson
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/

3 replies

Darrin_JohnsonAccepted solution
April 17, 2017
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/
April 17, 2017
                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/
Prince_Shivhare
Community Advisor
Community Advisor
April 18, 2017

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