Access JCR from another web application | Community
Skip to main content
Level 2
Dec 21, 2017 9:37 AM UTC
Solved

Access JCR from another web application

Hello Guys, I have quick question. Can we access AEM JCR from an another Java web application which is running in same system?

Actual requirement is, I'm developing a web application in Java in which in need to access(in Servlet) the AEM JCR and do some operation. AEM and the server which runs my web application are in same system. This should be done with out AEM bundles.

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
Dec 21, 2017 3:41 PM UTC

YEs you can - you use the JCR API --

Scott's Digital Community: Developing a Java Swing Application that displays Adobe Experience Manager Data

See how we talk to the AEM JCR from a Java Swing app. You can do the same thing from a Java Web app.

2 replies

Ratna_Kumar
Level 10
Dec 21, 2017 4:45 PM UTC

Yes Scott is right.

If you want to use JCR API from another java web application, you can see the mentioned article.

//Scott's Digital Community: Developing a Java Swing Application that displays Adobe Experience Manager Data

~Ratna.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Dec 21, 2017 3:41 PM UTC

YEs you can - you use the JCR API --

Scott's Digital Community: Developing a Java Swing Application that displays Adobe Experience Manager Data

See how we talk to the AEM JCR from a Java Swing app. You can do the same thing from a Java Web app.

Translate