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

SOLVED

AEM : REST Service

Murali89
Level 3
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
Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor

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
Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor

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

smacdonald2008
Level 10
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