How an external java application could be loaded to AEM 5.6.1 | Community
Skip to main content
Level 2
October 16, 2015
Solved

How an external java application could be loaded to AEM 5.6.1

  • October 16, 2015
  • 3 replies
  • 823 views

I have a requirement where a java application(which has its own set of webpages)needs to be integrated with AEM 5.6.1.

Please advice.

Regards,
MJ

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 smacdonald2008

OK - i see - you want to reference another web page from an AEM component. 

You can try using IFrame to pull in content of a Java web app running on another server. Something like: 

<html>

<body>

<iframe width="1000" height="800" frameborder="0" src="<URL TO THE WEB PAGE>"></iframe>

</body>
</html>

 

I am not aware of any articles on this use case - try that and see how it looks. 

3 replies

smacdonald2008
Level 10
October 16, 2015

Are you referring to an external WAR file that has web pages under WEB-INF\pages? 

CheriCQAuthor
Level 2
October 16, 2015

Hi Scot,

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

Regards,

MJ

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

OK - i see - you want to reference another web page from an AEM component. 

You can try using IFrame to pull in content of a Java web app running on another server. Something like: 

<html>

<body>

<iframe width="1000" height="800" frameborder="0" src="<URL TO THE WEB PAGE>"></iframe>

</body>
</html>

 

I am not aware of any articles on this use case - try that and see how it looks.