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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to develop a custom API for AEM application

Mayank_Arora
Level 3
Level 3

Hello,

In our application, we ingest data from multiple sources and produce various custom RSS feeds to be consumed by in-house mobile apps. As an alternative approach and for "usefulness", we need to build an API which offers sufficient options that any of the feeds can be developed using it.

What is the best way of achieving this? Please suggest some steps and reference links? Will it involve building a wrapper around JCR API?

Regards,

Mayank

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

You can wrap the JCR API in an OSGi bundle and then call the operations exposed by the OSGi from JSPs located in your CQ site. We have many examples of how you would do this. See this article to get you started.

http://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html

Hope this helps

View solution in original post

2 Replies
smacdonald2008
Correct answer by
Level 10
Level 10

You can wrap the JCR API in an OSGi bundle and then call the operations exposed by the OSGi from JSPs located in your CQ site. We have many examples of how you would do this. See this article to get you started.

http://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html

Hope this helps

View solution in original post