Python scripts for back end coding in AEM | Community
Skip to main content
Level 2
September 15, 2017
Solved

Python scripts for back end coding in AEM

  • September 15, 2017
  • 11 replies
  • 6045 views

Is it feasible to include python code for backend functionality in AEM (as UI has to be done in AEM)? Can you please also state the issues one might face , while integrating python codes in AEM?

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 joerghoh

Hi,

AEM runs inside a JVM and has Java APIs. So if you want to to run Python code inside the JVM, you should use a JVM-based Python engine (maybe Jython).

The next thing is that you need to translate the Java interfaces and make them usable in Python. And the next step would be the tooling (I am specifically talking about the annotations handled by the maven-scr-plugin and the maven-bundle-plugin) to make this approach feasible and not only a proof of concept.

I would not go down this route, but rather take a language, where the tooling already exists and where support is available plus other people who can help you with questions.

If you want to run your python code outside of AEM in a separate process and make it usable via a HTTP interface: That will no be problem, but you always have a network connection.

Jörg

11 replies

Level 2
September 26, 2017

Can you share the link here ?

Thanks