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?
Solved! Go to Solution.
Please check this also.
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.