Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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/
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