Skip to main content
Level 2
Oct 16, 2015 2:29 AM UTC
Solved

How an external java application could be loaded to AEM 5.6.1

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

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
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

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. 

Translate
CheriCQAuthor
Level 2
Oct 16, 2015 2:29 AM UTC

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

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:29 AM UTC

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

Translate