Invoking an AEM page from a Java page | Community
Skip to main content
AEM_Forum
New Participant
March 27, 2017
Solved

Invoking an AEM page from a Java page

  • March 27, 2017
  • 4 replies
  • 1051 views

Hi,

Recently, I came across a weird requirement of being able to  Invoke an AEM page from a Java page (Non-AEM).

In other words, let us say we have a regular Java/J2EE Web Application.

From one of its pages, by clicking a button, we should Invoke an AEM page.

I replied telling that it has to be all pages in AEM and not just a few pages.

Kindly suggest, whether this requirement is achievable.

Thanks,

Rama.

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 kautuk_sahni

AEM Forum wrote...

From one of its pages, by clicking a button, we should Invoke an AEM page.

Hi 

I am bit unclear with your requirement here. When you say invoke so do you mean opening of the page ?

If so, then "java.awt.Desktop.getDesktop().browse(theURI);"

There are many ways to open the page.

~kautuk

4 replies

joerghoh
Employee
March 27, 2017

Hi,

what do you mean with "call a page"? Do you mean to retrieve a page via a HTTP call?

Jörg

smacdonald2008
New Participant
March 27, 2017

If all you want to do is open a page - then as Kautuk suggests - you can use Java APIs to do so. 

kautuk_sahni
kautuk_sahniAccepted solution
Employee
March 27, 2017

AEM Forum wrote...

From one of its pages, by clicking a button, we should Invoke an AEM page.

Hi 

I am bit unclear with your requirement here. When you say invoke so do you mean opening of the page ?

If so, then "java.awt.Desktop.getDesktop().browse(theURI);"

There are many ways to open the page.

~kautuk

Kautuk Sahni
Prince_Shivhare
New Participant
March 27, 2017

Hi Rama,

Please see the thread:

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__tewe-i_have_a_requirement.html

Here you can see how to integrate the Java Web Application and AEM. you can check the codes.

~ Prince