Thursday, March 3, 2011

Can you use mod_python with JBoss?

Anyone know whether it is possible to put mod_python under JBoss like you can Apache HTTPD? Given that JBoss has Tomcat inside it would seem to be a reasonable thing to do.

If not mod_python is there any python support under JBoss which will keep the interpreter in memory?

From stackoverflow
  • Have you looked into Jython? Tomcat is built in Java after all.

  • I'm not sure about running mod_perl in JBoss, but here are a couple of approaches you might want to consider:

    Enabling CGI

    You can enable CGI within tomcat. See here for an example?

    Using jython

    Java 6 has good support for running other languages within the JVM. One of these is the jython variant of python?

    Hope this helps.

    EDIT: Fixed link

0 comments:

Post a Comment