ModjyIndex » History » Version 8

Alan Kennedy, 2011-02-25 10:01 PM
Added a link to the documentation for running modjy on Google AppEngine.

1 1 Alan Kennedy
h1. A WSGI server for jython
2 1 Alan Kennedy
3 1 Alan Kennedy
h2(#intro). Introduction to modjy
4 1 Alan Kennedy
5 1 Alan Kennedy
6 1 Alan Kennedy
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??. 
7 1 Alan Kennedy
8 1 Alan Kennedy
Modjy is an implementation of a WSGI compliant gateway/server for jython, built on "Java/J2EE servlets": Which means that
9 1 Alan Kennedy
10 1 Alan Kennedy
11 1 Alan Kennedy
 # Jython WSGI applications run inside a Java/J2EE servlet container, e.g. "Apache Tomcat":
12 1 Alan Kennedy
 # Incoming requests are handled by the servlet container
13 1 Alan Kennedy
 # The container is configured to route requests to the modjy servlet
14 1 Alan Kennedy
 # 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??.
15 1 Alan Kennedy
 # The modjy servlet delegates the requests to the configured WSGI application or framework.
16 1 Alan Kennedy
 # The WSGI response is routed back to the client through the servlet container.
17 1 Alan Kennedy
18 1 Alan Kennedy
19 1 Alan Kennedy
For further information about WSGI, see "": For a detailed specification of WSGI see "PEP-333: Python Web Server Gateway Interface, version 1.0":
20 1 Alan Kennedy
21 1 Alan Kennedy
22 1 Alan Kennedy
23 1 Alan Kennedy
24 1 Alan Kennedy
h2(#toc). How to use modjy
25 1 Alan Kennedy
26 1 Alan Kennedy
27 1 Alan Kennedy
28 1 Alan Kennedy
 # See the [[ModjyDownload|download]] page to find out how to get hold of modjy.
29 4 Alan Kennedy
 # See the [[ModjyDeployment|modjy deployment]] page to read about deploying modjy applications.
30 6 Alan Kennedy
 # See the [[ModjyWarPackaging|modjy and WAR files]] page for information on packaging modjy applications in WAR files.
31 4 Alan Kennedy
 # See the [[ModjyConfiguration|modjy configuration]] page to read about the various configuration options available to you for configuring modjy
32 1 Alan Kennedy
 # See the [[ModjyLocateCallables|loading applications]] page to find out about the different mechanisms that modjy can use to locate and load WSGI callable objects
33 8 Alan Kennedy
 # There is dedicated documentation for running [[ModjyGoogleAppEngine|modjy on Google AppEngine]]
34 4 Alan Kennedy
 # See the [[ModjyWSGI|modjy and WSGI]] page for a discussion of how modjy complies with the WSGI standard.
35 4 Alan Kennedy
 # See the [[ModjyDesign|modjy design]] page to read about how modjy is designed.
36 7 Alan Kennedy
 # See the [[ModjyTroubleShooting|modjy trouble-shooting]] which describes some common problems and solutions.
37 7 Alan Kennedy
Add picture from clipboard (Maximum size: 10 MB)