Skip to main content
Charlie_Shafton
Adobe Employee
Adobe Employee
Oct 16, 2015 2:28 AM UTC
Solved

Integrating different web application with AEM

Cross post from the AEM Tech Community - Discussions

Context : Need to revamp an application in AEM 5.6.1. Within this application, we have to integrate a stand alone java application. So is it good to call the homepage of standalone app within AEM via Iframes? Am considering a different appraoch of using the RESTFUL API of the standlaone application as well. Which is the best option? to use Iframes for integration or create webpages from JSON response? or is there a better option
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

Its always better and recommended to go RESTFUL way via Ajax rather than using iframes.

3 replies

smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

Agreed - do not use IFrame, Instead - you can write sling servlets and invoke them using Rest - ie an AJAX call. In AEM - components would communite with Servlets and data would be displayed in a component. An AEM page can contain x number of components. So 1 page can contain many components - all of which can invoke servlets. 

Translate
Charlie_Shafton
Adobe Employee
Adobe Employee
Oct 16, 2015 2:28 AM UTC

Thanks for the help guys!

Translate
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

Its always better and recommended to go RESTFUL way via Ajax rather than using iframes.

Translate