Skip to main content
Murali89
Level 2
October 16, 2015
Respondido

AEM : REST Service

  • October 16, 2015
  • 2 respostas
  • 1463 Visualizações

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? 

Este tópico foi fechado para respostas.
Melhor resposta por Lokesh_Shivalingaiah

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

2 Respostas

smacdonald2008
Level 10
October 16, 2015

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

Lokesh_Shivalingaiah
Level 10
October 16, 2015

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