ModjyIndex » History » Version 2

« Previous - Version 2/9 (diff) - Next » - Current version
Alan Kennedy, 2009-03-15 09:13 PM

A WSGI server for jython

Introduction to modjy

Python Web Server Gateway Interface, as specified in PEP-333, is a simple and universal interface between web servers and [python] web applications or frameworks.

Modjy is an implementation of a WSGI compliant gateway/server for jython, built on Java/J2EE servlets. Which means that

  1. Jython WSGI applications run inside a Java/J2EE servlet container, e.g. Apache Tomcat
  2. Incoming requests are handled by the servlet container
  3. The container is configured to route requests to the modjy servlet
  4. The modjy servlet creates an embedded jython interpreter inside the servlet container, and loads a configured jython web application, e.g. Django, the web framework for perfectionists with deadlines.
  5. The modjy servlet delegates the requests to the configured WSGI application or framework.
  6. The WSGI response is routed back to the client through the servlet container.

For further information about WSGI, see For a detailed specification of WSGI see PEP-333: Python Web Server Gateway Interface, version 1.0.

How to use modjy

  1. See the download page to find out how to get hold of modjy.
  2. See the install page to read about installing modjy
  3. See the configuration page to read about the various configuration options available to you for configuring modjy
  4. See the loading applications page to find out about the different mechanisms that modjy can use to locate and load WSGI callable objects
  5. See the WSGI page for a discussion of how modjy complies with the WSGI standard.
Add picture from clipboard (Maximum size: 10 MB)