Integrating different web application with AEM | Community
Skip to main content
Charlie_Shafton
Employee
October 16, 2015
Solved

Integrating different web application with AEM

  • October 16, 2015
  • 3 replies
  • 1427 views

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.
Best answer by Lokesh_Shivalingaiah

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

3 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
October 16, 2015

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

Charlie_Shafton
Employee
October 16, 2015

Thanks for the help guys!

smacdonald2008
New Participant
October 16, 2015

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.