Expand my Community achievements bar.

SOLVED

Integrating different web application with AEM

Avatar

Employee

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
1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Level 10

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.