Expand my Community achievements bar.

SOLVED

AEM : REST Service

Avatar

Level 3

Is there a way to implement and expose a rest service from AEM OSGI bundle so that other application like MULE or Hybris can consume it? 

1 Accepted Solution

Avatar

Correct answer by
Level 10

AEM is based on Sling framework which is REST based, so definitely you can have a REST services as @scott mentioned

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

AEM is based on Sling framework which is REST based, so definitely you can have a REST services as @scott mentioned

Avatar

Level 10

AEM exposes Restful endpoints via servlets. You can use the default SlingPostServlet or write your own servlets. 

That is - you can write a Sling Servlet that accepts GETs or POSTs. Other clients that are able to perform REST requests can sent REST requests to AEM by performing GET or POSTs. Here is an example of a .NET app interacting with AEM using the default SLingPOstServlet:

https://helpx.adobe.com/experience-manager/using/using-net-client-application.html

Of course - you can write your own Sling Servlets - as talked about here.

http://scottsdigitalcommunity.blogspot.ca/2014/03/creating-java-swing-applications-that.html